Details

Time bar (total: 4.0s)

sample17.0ms

Algorithm
intervals
Results
7.0ms321×body80valid

simplify173.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (64.0ms)

IterNodesCost
0144
1344
2924
32324
44914
57854
611154
714824
822183
933493
1048193
1150013

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.6b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

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

series89.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0244345
11005301
25001292

prune134.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
29×add-sqr-sqrt *-un-lft-identity
27×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
sub-neg add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u associate-*r/ log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 82
Calls
2 calls:
6.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
14.0ms
(* (* x z) (- y 1.0))

series127.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0448736
11854512
25001506

prune171.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- y 1.0))
0.3b
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
0.6b
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
3.8b
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
80×cbrt-div
44×associate-*r/
41×pow1
40×flip3-- flip--
38×cbrt-prod
36×add-exp-log frac-times
35×add-sqr-sqrt
33×*-un-lft-identity
23×pow-prod-down
22×prod-exp cbrt-unprod
21×add-cbrt-cube
18×associate-*l/
17×associate-*r*
15×add-cube-cbrt
10×swap-sqr associate-*l*
distribute-lft-out--
pow1/3
difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
*-commutative
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 167
Calls
4 calls:
2.0ms
(cbrt (- y 1.0))
21.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
113.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
29.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

series488.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(cbrt (- y 1.0))
128.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
74.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
178.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

simplify110.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
08111950
134181719
250021611

prune455.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- y 1.0))
0.6b
(* (* (* (* x z) (cbrt (- y 1.0))) (cbrt (- y 1.0))) (cbrt (- y 1.0)))
1.8b
(* (* x z) (cbrt (- y 1.0)))
1.9b
(* (* (* x z) (cbrt (- y 1.0))) (cbrt (- y 1.0)))

rewrite202.0ms

Algorithm
rewrite-expression-head
Rules
70×cbrt-div
36×associate-*r/
35×flip3-- flip--
32×pow1 add-exp-log frac-times
24×associate-*r*
20×cbrt-prod
19×add-sqr-sqrt *-un-lft-identity pow-prod-down prod-exp cbrt-unprod
16×associate-*l/ add-cbrt-cube
11×add-cube-cbrt
expm1-log1p-u log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
associate-*l* *-commutative
pow1/3
Counts
4 → 137
Calls
4 calls:
2.0ms
(cbrt (- y 1.0))
138.0ms
(* (* (* (* x z) (cbrt (- y 1.0))) (cbrt (- y 1.0))) (cbrt (- y 1.0)))
14.0ms
(* (* x z) (cbrt (- y 1.0)))
42.0ms
(* (* (* x z) (cbrt (- y 1.0))) (cbrt (- y 1.0)))

series479.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(cbrt (- y 1.0))
74.0ms
(* (* (* (* x z) (cbrt (- y 1.0))) (cbrt (- y 1.0))) (cbrt (- y 1.0)))
128.0ms
(* (* x z) (cbrt (- y 1.0)))
169.0ms
(* (* (* x z) (cbrt (- y 1.0))) (cbrt (- y 1.0)))

simplify106.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
07491658
135201523
250011444

prune375.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes162.0ms

Accuracy

75.7% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 1.7b

bsearch80.0ms

Steps
ItersRangePoint
7
1.5527620213385492e-98
3.55820370252485e-96
3.5008624442891087e-96
9
-5.115496965164263e+93
-1.9726095898597244e+87
-5.928829482005966e+90

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03513
13913
24613
34613

end0.0ms

sample429.0ms

Algorithm
intervals
Results
225.0ms10116×body80valid