Details

Time bar (total: 2.9s)

sample29.0ms

Algorithm
intervals
Results
18.0ms333×body80valid

simplify206.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1344
2844
32064
44064
55404
67064
79574
814584
923844
1036584
1140314
1244294
1350024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.6b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 y) z)
2.5b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
*-un-lft-identity associate-*l*
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube
distribute-rgt-in sub-neg flip3-- distribute-lft-in associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod add-log-exp unswap-sqr
distribute-lft-out-- difference-of-squares
Counts
2 → 46
Calls
2 calls:
10.0ms
(* (- 1.0 y) z)
8.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series81.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(* (- 1.0 y) z)
52.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify98.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0211251
1863221
23970215
35001215

prune283.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x z) (- y 1.0)))
3.5b
(* (* x z) (- y 1.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity associate-*r*
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in add-log-exp
add-cube-cbrt pow-prod-down prod-exp cbrt-unprod
associate-*r/
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
12.0ms
(* (* x z) (- y 1.0))

series116.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
53.0ms
(* (* x z) (- y 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0257266
11177224
25002219

prune94.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x 1.0) (+ (* x (* z y)) (* (* x z) (- 1.0))))
0.0b
(+ (* x (* z y)) (* (* x z) (- 1.0)))
5.6b
(* x (* z y))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity sum-log distribute-rgt-neg-out
associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative associate-+r- flip3-+ unsub-neg flip-+
associate-+r+ associate-*r* *-commutative
Counts
3 → 46
Calls
3 calls:
15.0ms
(+ (* x 1.0) (+ (* x (* z y)) (* (* x z) (- 1.0))))
5.0ms
(+ (* x (* z y)) (* (* x z) (- 1.0)))
8.0ms
(* x (* z y))

series158.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(+ (* x 1.0) (+ (* x (* z y)) (* (* x z) (- 1.0))))
69.0ms
(+ (* x (* z y)) (* (* x z) (- 1.0)))
25.0ms
(* x (* z y))

simplify47.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0274370
11218318
25001293

prune117.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

5.6b
(* x (* z y))
7.9b
(cbrt (* x (* z y)))
7.9b
(cbrt (* x (* z y)))
7.9b
(cbrt (* x (* z y)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
cbrt-prod pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-*r* *-commutative
Counts
4 → 45
Calls
4 calls:
6.0ms
(* x (* z y))
4.0ms
(cbrt (* x (* z y)))
4.0ms
(cbrt (* x (* z y)))
4.0ms
(cbrt (* x (* z y)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* x (* z y))
91.0ms
(cbrt (* x (* z y)))
92.0ms
(cbrt (* x (* z y)))
90.0ms
(cbrt (* x (* z y)))

simplify59.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0176285
1546249
22017225
35001203

prune153.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes256.0ms

Accuracy

87.2% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 1.5b

bsearch67.0ms

Steps
ItersRangePoint
6
9.50952901782843e-47
8.015855564889444e-46
6.423048079579083e-46
6
-1.3069732955539597e-98
-2.1406595402918845e-99
-1.2920222538330339e-98

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03513
13913
24613
34613

end0.0ms

sample688.0ms

Algorithm
intervals
Results
476.0ms10175×body80valid