Details

Time bar (total: 3.5s)

sample18.0ms

Algorithm
intervals
Results
7.0ms325×body80valid

simplify155.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (53.0ms)

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

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.4b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 y) z)
3.2b
(* 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)))

series84.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0244345
11005301
25001292

prune130.0ms

Filtered
62 candidates to 39 candidates (62.9%)
Pruning

5 alts after pruning (4 fresh and 1 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)))
3.4b
(* (* x z) (- y 1.0))

rewrite26.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:
7.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
15.0ms
(* (* x z) (- y 1.0))

series132.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0448736
11854512
25001506

prune181.0ms

Filtered
88 candidates to 48 candidates (54.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
0.5b
(cbrt z)
3.2b
(* x (- 1.0 (* (* (- 1.0 y) (* (cbrt z) (cbrt z))) (cbrt z))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1 add-exp-log prod-diff add-cbrt-cube
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* associate-*l*
sub-neg associate-*r/
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 71
Calls
4 calls:
0.0ms
(cbrt z)
0.0ms
(cbrt z)
1.0ms
(cbrt z)
9.0ms
(* x (- 1.0 (* (* (- 1.0 y) (* (cbrt z) (cbrt z))) (cbrt z))))

series714.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(cbrt z)
208.0ms
(cbrt z)
203.0ms
(cbrt z)
99.0ms
(* x (- 1.0 (* (* (- 1.0 y) (* (cbrt z) (cbrt z))) (cbrt z))))

simplify49.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0212632
1932516
25002397

prune253.0ms

Filtered
83 candidates to 66 candidates (79.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

3.4b
(* (* x z) (- y 1.0))
3.4b
(* (* x z) (- y 1.0))
5.2b
(sqrt (* (* x z) (- y 1.0)))
5.2b
(sqrt (* (* x z) (- y 1.0)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
34×add-sqr-sqrt *-un-lft-identity
30×add-cube-cbrt
26×pow1
22×distribute-rgt-in distribute-lft-in
14×add-exp-log add-cbrt-cube
12×pow-prod-down
10×associate-*r*
associate-*r/
sqrt-pow1 prod-exp cbrt-unprod
expm1-log1p-u sub-neg flip3-- sqrt-div flip-- log1p-expm1-u add-log-exp
pow1/2 associate-*l* sqrt-prod *-commutative distribute-lft-out-- difference-of-squares
Counts
4 → 124
Calls
4 calls:
15.0ms
(* (* x z) (- y 1.0))
19.0ms
(* (* x z) (- y 1.0))
15.0ms
(sqrt (* (* x z) (- y 1.0)))
15.0ms
(sqrt (* (* x z) (- y 1.0)))

series451.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (* x z) (- y 1.0))
58.0ms
(* (* x z) (- y 1.0))
166.0ms
(sqrt (* (* x z) (- y 1.0)))
173.0ms
(sqrt (* (* x z) (- y 1.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
03501052
11451740
25001712

prune279.0ms

Filtered
136 candidates to 70 candidates (51.5%)
Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0.0b

regimes256.0ms

Accuracy

87.3% (0.2b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample469.0ms

Algorithm
intervals
Results
250.0ms10109×body80valid