Details

Time bar (total: 1.8s)

sample14.0ms

Algorithm
intervals
Results
6.0ms335×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1233
2383
3473
4473

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize4.0ms

Local error

Found 1 expressions with local error:

0.1b
(* x (- 1.0 (* x y)))

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

series44.0ms

Counts
1 → 3
Calls
1 calls:
44.0ms
(* x (- 1.0 (* x y)))

simplify85.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0122130
1534113
22890113
35002113

prune43.0ms

Filtered
27 candidates to 16 candidates (59.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* x y))))
0.1b
(* x (- (* x y)))

rewrite9.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))))
5.0ms
(* x (- (* x y)))

series60.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0181210
11035183
25001179

prune88.0ms

Filtered
42 candidates to 31 candidates (73.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* x (- (* x y)))) (cbrt (* x (- (* x y)))))
20.1b
(cbrt (* x (- (* x y))))
20.1b
(cbrt (* x (- (* x y))))
20.1b
(cbrt (* x (- (* x y))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 58
Calls
4 calls:
8.0ms
(* (cbrt (* x (- (* x y)))) (cbrt (* x (- (* x y)))))
2.0ms
(cbrt (* x (- (* x y))))
2.0ms
(cbrt (* x (- (* x y))))
3.0ms
(cbrt (* x (- (* x y))))

series429.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(* (cbrt (* x (- (* x y)))) (cbrt (* x (- (* x y)))))
97.0ms
(cbrt (* x (- (* x y))))
99.0ms
(cbrt (* x (- (* x y))))
103.0ms
(cbrt (* x (- (* x y))))

simplify100.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0211528
1689459
23215384
35001378

prune198.0ms

Filtered
70 candidates to 56 candidates (80.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (pow x 2) (- y)))
11.6b
(* (pow x 2) (- y))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×associate-*r*
associate-*l*
add-exp-log add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
distribute-lft-neg-in distribute-rgt-neg-in prod-exp distribute-rgt-neg-out
pow1 unpow2 sqr-pow
+-commutative pow-to-exp neg-mul-1 flip3-+ unsub-neg pow-exp sum-log *-commutative cbrt-unprod flip-+
Counts
2 → 48
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* (pow x 2) (- y)))
9.0ms
(* (pow x 2) (- y))

series64.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(+ (* x 1.0) (* (pow x 2) (- y)))
21.0ms
(* (pow x 2) (- y))

simplify43.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0231269
11069244
25001235

prune104.0ms

Filtered
54 candidates to 38 candidates (70.4%)
Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

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

sample356.0ms

Algorithm
intervals
Results
196.0ms10741×body80valid