Details

Time bar (total: 2.3s)

sample19.0ms

Algorithm
intervals
Results
7.0ms295×body80valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0195
1425
2875
31755
43105
55005
67205
79485
811485
911485

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- y 1.0))
0.0b
(- (* x (- y 1.0)) (* y 0.5))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
sub-neg associate-*r*
pow1 add-exp-log distribute-rgt-in add-cube-cbrt distribute-lft-in associate--l+ add-cbrt-cube add-log-exp
associate-*l*
flip3-- associate-*r/ flip--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 42
Calls
2 calls:
6.0ms
(* x (- y 1.0))
7.0ms
(- (* x (- y 1.0)) (* y 0.5))

series63.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(* x (- y 1.0))
26.0ms
(- (* x (- y 1.0)) (* y 0.5))

simplify74.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0186217
1673197
22660196
35003196

prune78.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
associate-+r+ sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r- sub-neg *-un-lft-identity flip3-+ diff-log add-cbrt-cube flip-+
Counts
1 → 15
Calls
1 calls:
6.0ms
(+ (* y x) (- (* (- 1.0) x) (* y 0.5)))

series31.0ms

Counts
1 → 3
Calls
1 calls:
31.0ms
(+ (* y x) (- (* (- 1.0) x) (* y 0.5)))

simplify50.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0116149
1370130
21792129
35001129

prune37.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (sqrt x) (* (sqrt x) (- y 1.0))) (* y 0.5))
0.0b
(* (sqrt x) (- y 1.0))
0.2b
(* (sqrt x) (* (sqrt x) (- y 1.0)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
18×distribute-rgt-in distribute-lft-in
14×add-sqr-sqrt
12×associate-*l*
11×sub-neg
10×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
add-cube-cbrt associate--l+
sqrt-prod
associate-*r/ associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- flip--
*-commutative unswap-sqr
diff-log distribute-lft-out-- difference-of-squares
Counts
3 → 81
Calls
3 calls:
10.0ms
(- (* (sqrt x) (* (sqrt x) (- y 1.0))) (* y 0.5))
7.0ms
(* (sqrt x) (- y 1.0))
10.0ms
(* (sqrt x) (* (sqrt x) (- y 1.0)))

series294.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (* (sqrt x) (* (sqrt x) (- y 1.0))) (* y 0.5))
217.0ms
(* (sqrt x) (- y 1.0))
35.0ms
(* (sqrt x) (* (sqrt x) (- y 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0318519
11272441
25001434

prune153.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
0.3b
(cbrt (- y 1.0))
0.3b
(cbrt (- y 1.0))
0.3b
(cbrt (- y 1.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 101
Calls
4 calls:
11.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
3.0ms
(cbrt (- y 1.0))
3.0ms
(cbrt (- y 1.0))
3.0ms
(cbrt (- y 1.0))

series419.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
96.0ms
(cbrt (- y 1.0))
95.0ms
(cbrt (- y 1.0))
100.0ms
(cbrt (- y 1.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0368838
11223798
25001732

prune350.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes72.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0197
1237
2247
3247

end0.0ms

sample384.0ms

Algorithm
intervals
Results
240.0ms9140×body80valid
0.0msbody640valid
0.0msbody320valid