Details

Time bar (total: 4.1s)

sample44.0ms

Algorithm
intervals
Results
16.0ms242×body80nan
14.0ms256×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.5b

localize9.0ms

Local error

Found 3 expressions with local error:

0.8b
(+ (* x y) (* x z))
1.8b
(+ (+ (* x y) (* x z)) (* y z))
19.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log
add-exp-log expm1-log1p-u flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sqrt-div distribute-lft-out
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
3 → 51
Calls
3 calls:
3.0ms
(+ (* x y) (* x z))
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series160.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x y) (* x z))
25.0ms
(+ (+ (* x y) (* x z)) (* y z))
105.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify124.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune170.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 20.5b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
1.8b
(+ (* x (+ y z)) (* y z))
19.4b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u flip3-+ associate-*l* sqrt-prod flip-+ log1p-expm1-u
distribute-rgt-in associate-+l+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square fma-def sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 58
Calls
3 calls:
9.0ms
(* x (+ y z))
5.0ms
(+ (* x (+ y z)) (* y z))
11.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

series149.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(* x (+ y z))
20.0ms
(+ (* x (+ y z)) (* y z))
106.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify46.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0295351
11251325
25002321

prune172.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 20.5b

localize11.0ms

Local error

Found 4 expressions with local error:

1.8b
(+ (* x (+ y z)) (* y z))
1.8b
(+ (* x (+ y z)) (* y z))
19.4b
(sqrt (+ (* x (+ y z)) (* y z)))
19.4b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u associate-+l+ flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
+-commutative distribute-rgt-in rem-sqrt-square fma-def distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
4 → 66
Calls
4 calls:
5.0ms
(+ (* x (+ y z)) (* y z))
5.0ms
(+ (* x (+ y z)) (* y z))
7.0ms
(sqrt (+ (* x (+ y z)) (* y z)))
7.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (* x (+ y z)) (* y z))
20.0ms
(+ (* x (+ y z)) (* y z))
107.0ms
(sqrt (+ (* x (+ y z)) (* y z)))
116.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify89.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0201528
1674486
22998480
35001476

prune275.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 20.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt x)
0.5b
(* (cbrt x) (cbrt x))
1.8b
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
19.4b
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×cbrt-prod
14×add-cube-cbrt *-un-lft-identity
12×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l* add-log-exp
distribute-rgt-in expm1-log1p-u associate-+l+ distribute-lft-in add-cbrt-cube log1p-expm1-u unswap-sqr
sqrt-prod
flip3-+ sqrt-div pow-prod-down pow-sqr pow-prod-up flip-+
+-commutative pow2 rem-sqrt-square fma-def sqrt-pow1 pow-plus pow1/2 prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 90
Calls
4 calls:
0.0ms
(cbrt x)
6.0ms
(* (cbrt x) (cbrt x))
22.0ms
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
42.0ms
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

series592.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt x)
205.0ms
(* (cbrt x) (cbrt x))
57.0ms
(+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z))
146.0ms
(sqrt (+ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ y z))) (* y z)))

simplify65.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0343725
11462635
25001603

prune300.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 20.5b

regimes159.0ms

Accuracy

0% (0.1b remaining)

Error of 20.4b against oracle of 20.4b and baseline of 20.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample1.2s

Algorithm
intervals
Results
459.0ms8000×body80valid
453.0ms8066×body80nan