Details

Time bar (total: 2.4s)

sample17.0ms

Algorithm
intervals
Results
9.0ms329×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1233
2383
3473
4473

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(* x (- 1.0 (* x y)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
7.0ms
(* x (- 1.0 (* x y)))

series41.0ms

Counts
1 → 3
Calls
1 calls:
40.0ms
(* x (- 1.0 (* x y)))

simplify86.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0122130
1534113
22890113
35002113

prune46.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* x y))))
0.2b
(* x (- (* x y)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l* distribute-rgt-neg-out
+-commutative distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* x (- (* x y))))
5.0ms
(* x (- (* x y)))

series63.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(+ (* x 1.0) (* x (- (* x y))))
24.0ms
(* x (- (* x y)))

simplify45.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0181210
11035183
25001179

prune88.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* x (- (* x y)))) (cbrt (* x (- (* x y)))))
22.4b
(cbrt (* x (- (* x y))))
22.4b
(cbrt (* x (- (* x y))))
22.4b
(cbrt (* x (- (* x y))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 58
Calls
4 calls:
8.0ms
(* (cbrt (* x (- (* x y)))) (cbrt (* x (- (* x y)))))
2.0ms
(cbrt (* x (- (* x y))))
2.0ms
(cbrt (* x (- (* x y))))
2.0ms
(cbrt (* x (- (* x y))))

series431.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(* (cbrt (* x (- (* x y)))) (cbrt (* x (- (* x y)))))
100.0ms
(cbrt (* x (- (* x y))))
98.0ms
(cbrt (* x (- (* x y))))
98.0ms
(cbrt (* x (- (* x y))))

simplify101.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0211528
1689459
23215384
35001378

prune193.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
10.8b
(cbrt (- (* x y)))
22.4b
(cbrt (* x (- (* x y))))
22.4b
(cbrt (* x (- (* x y))))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
11×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in
Counts
4 → 43
Calls
4 calls:
0.0ms
(cbrt x)
1.0ms
(cbrt (- (* x y)))
2.0ms
(cbrt (* x (- (* x y))))
2.0ms
(cbrt (* x (- (* x y))))

series478.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt x)
101.0ms
(cbrt (- (* x y)))
100.0ms
(cbrt (* x (- (* x y))))
99.0ms
(cbrt (* x (- (* x y))))

simplify110.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (106.0ms)

IterNodesCost
0177297
1361269
21043237
33711237
45002233

prune199.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes36.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0185
1235
2245
3245

end0.0ms

sample394.0ms

Algorithm
intervals
Results
216.0ms10715×body80valid