Details

Time bar (total: 2.8s)

sample17.0ms

Algorithm
intervals
Results
7.0ms322×body80valid

simplify145.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (49.0ms)

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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.8b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 y) z)
2.7b
(* 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:
11.0ms
(* (- 1.0 y) z)
8.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series78.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0244345
11005301
25001292

prune110.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x z) (- y 1.0)))
2.6b
(* (* 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)))
15.0ms
(* (* x z) (- y 1.0))

series113.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0448736
11854512
25001506

prune153.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

2.6b
(* (* x z) (- y 1.0))
6.9b
(cbrt (* (* x z) (- y 1.0)))
6.9b
(cbrt (* (* x z) (- y 1.0)))
6.9b
(cbrt (* (* x z) (- y 1.0)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt *-un-lft-identity
18×prod-diff
17×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r/
cbrt-div
associate-*r*
expm1-log1p-u flip3-- flip-- log1p-expm1-u add-log-exp
cbrt-prod pow1/3 pow-prod-down prod-exp cbrt-unprod
sub-neg
associate-*l* *-commutative distribute-lft-out-- difference-of-squares
Counts
4 → 85
Calls
4 calls:
15.0ms
(* (* x z) (- y 1.0))
7.0ms
(cbrt (* (* x z) (- y 1.0)))
7.0ms
(cbrt (* (* x z) (- y 1.0)))
9.0ms
(cbrt (* (* x z) (- y 1.0)))

series659.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (* x z) (- y 1.0))
208.0ms
(cbrt (* (* x z) (- y 1.0)))
202.0ms
(cbrt (* (* x z) (- y 1.0)))
201.0ms
(cbrt (* (* x z) (- y 1.0)))

simplify62.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04911055
11922856
25001844

prune283.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.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)))
6.5b
(* x (* z y))

rewrite32.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
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
+-commutative associate-+r- fma-def flip3-+ unsub-neg flip-+
associate-+r+ associate-*r* *-commutative
Counts
3 → 54
Calls
3 calls:
15.0ms
(+ (* x 1.0) (+ (* x (* z y)) (* (* x z) (- 1.0))))
6.0ms
(+ (* x (* z y)) (* (* x z) (- 1.0)))
6.0ms
(* x (* z y))

series160.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(+ (* x 1.0) (+ (* x (* z y)) (* (* x z) (- 1.0))))
72.0ms
(+ (* x (* z y)) (* (* x z) (- 1.0)))
26.0ms
(* x (* z y))

simplify53.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0294398
11302351
25001321

prune143.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes77.0ms

Accuracy

74.7% (0.4b remaining)

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

bsearch59.0ms

Steps
ItersRangePoint
3
1.876018504326215e+114
2.2903267643083624e+114
2.0054898355706359e+114
8
-374005510135422.8
-158263322267.72745
-7173096633543.6045

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03513
13913
24613
34613

end0.0ms

sample435.0ms

Algorithm
intervals
Results
238.0ms10150×body80valid