Details

Time bar (total: 2.8s)

sample15.0ms

Algorithm
intervals
Results
6.0ms353×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1233
2383
3473
4473

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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)))

rewrite7.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)))

series39.0ms

Counts
1 → 3
Calls
1 calls:
39.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

prune50.0ms

Filtered
27 candidates to 16 candidates (59.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize6.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))))
4.0ms
(* x (- (* x y)))

series61.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0181210
11035183
25001179

prune89.0ms

Filtered
42 candidates to 31 candidates (73.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (* x y))) (cbrt (- (* x y))))
7.3b
(cbrt (- (* x y)))
7.3b
(cbrt (- (* x y)))
7.3b
(cbrt (- (* x y)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
46×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3 swap-sqr associate-*r* associate-*l*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in
add-exp-log
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 91
Calls
4 calls:
9.0ms
(* (cbrt (- (* x y))) (cbrt (- (* x y))))
1.0ms
(cbrt (- (* x y)))
1.0ms
(cbrt (- (* x y)))
1.0ms
(cbrt (- (* x y)))

series435.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(* (cbrt (- (* x y))) (cbrt (- (* x y))))
98.0ms
(cbrt (- (* x y)))
96.0ms
(cbrt (- (* x y)))
99.0ms
(cbrt (- (* x y)))

simplify116.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0232721
1806670
24091596
35002587

prune299.0ms

Filtered
103 candidates to 82 candidates (79.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.5b
(cbrt x)
0.5b
(cbrt x)
0.5b
(cbrt x)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
5.0ms
(* (cbrt x) (cbrt x))
0.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series738.0ms

Counts
4 → 12
Calls
4 calls:
199.0ms
(* (cbrt x) (cbrt x))
184.0ms
(cbrt x)
177.0ms
(cbrt x)
178.0ms
(cbrt x)

simplify92.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0115288
1472261
22959238
35003235

prune217.0ms

Filtered
85 candidates to 64 candidates (75.3%)
Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes56.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

sample378.0ms

Algorithm
intervals
Results
203.0ms10604×body80valid