Details

Time bar (total: 2.5s)

sample20.0ms

Algorithm
intervals
Results
8.0ms341×body80valid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0204
1414
2584
3774
41114
51714
62934
75214
87074
97874
109644
119884
129884

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (- (+ x y) z) (* t 2.0))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
add-sqr-sqrt
add-exp-log times-frac add-cbrt-cube associate-/l*
distribute-lft-out--
add-cube-cbrt
cbrt-undiv div-exp associate-/l/ distribute-lft-out difference-of-squares
pow1 flip3-- frac-2neg div-sub prod-exp clear-num associate-/r* flip-- cbrt-unprod div-inv add-log-exp
Counts
1 → 30
Calls
1 calls:
9.0ms
(/ (- (+ x y) z) (* t 2.0))

series38.0ms

Counts
1 → 3
Calls
1 calls:
38.0ms
(/ (- (+ x y) z) (* t 2.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0203198
1740169
23492169
35001169

prune70.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x y) (* t 2.0))
0.0b
(- (/ (+ x y) (* t 2.0)) (/ z (* t 2.0)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt associate-/l* add-log-exp
div-inv distribute-lft-out distribute-lft-out--
pow1 cbrt-undiv div-exp associate-/l/
sub-neg flip3-- distribute-rgt-out-- frac-2neg flip3-+ diff-log prod-exp clear-num associate-/r* frac-sub flip-- cbrt-unprod flip-+ sub-div difference-of-squares
Counts
2 → 44
Calls
2 calls:
7.0ms
(/ (+ x y) (* t 2.0))
11.0ms
(- (/ (+ x y) (* t 2.0)) (/ z (* t 2.0)))

series73.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(/ (+ x y) (* t 2.0))
36.0ms
(- (/ (+ x y) (* t 2.0)) (/ z (* t 2.0)))

simplify74.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0268324
1890289
23645287
35001287

prune98.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 1 expressions with local error:

0.3b
(* (/ 1 t) (- (/ (+ x y) 2.0) (/ z 2.0)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
31×*-un-lft-identity
27×times-frac
15×associate-*r*
13×add-cube-cbrt associate-*l*
10×add-exp-log
distribute-lft-out--
add-cbrt-cube
frac-times associate-*r/ prod-exp difference-of-squares
pow1 div-inv distribute-lft-out unswap-sqr
distribute-rgt-in sub-neg flip3-- distribute-lft-in div-exp frac-sub flip-- cbrt-unprod sub-div
cbrt-undiv rec-exp distribute-rgt-out-- 1-exp pow-prod-down associate-*l/ *-commutative add-log-exp
Counts
1 → 59
Calls
1 calls:
25.0ms
(* (/ 1 t) (- (/ (+ x y) 2.0) (/ z 2.0)))

series60.0ms

Counts
1 → 3
Calls
1 calls:
60.0ms
(* (/ 1 t) (- (/ (+ x y) 2.0) (/ z 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0392482
11603416
25002403

prune194.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (+ x y) 2.0) (/ (+ x y) 2.0))
0.0b
(* t (+ (/ (+ x y) 2.0) (/ z 2.0)))
5.5b
(- (* (/ (+ x y) 2.0) (/ (+ x y) 2.0)) (* (/ z 2.0) (/ z 2.0)))
33.6b
(/ (- (* (/ (+ x y) 2.0) (/ (+ x y) 2.0)) (* (/ z 2.0) (/ z 2.0))) (* t (+ (/ (+ x y) 2.0) (/ z 2.0))))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
107×*-un-lft-identity
80×times-frac
62×add-sqr-sqrt
48×add-cube-cbrt
28×distribute-lft-out
27×associate-*r/ associate-*r*
23×add-exp-log add-cbrt-cube
22×swap-sqr
21×associate-*l/
19×associate-*l*
18×frac-sub
17×frac-times
16×associate-/l/
13×pow1
10×sub-div
div-inv
cbrt-undiv div-exp prod-exp cbrt-unprod add-log-exp
unswap-sqr
associate-/l*
associate-/r/ difference-of-squares
flip3-- flip3-+ pow-prod-down frac-add *-commutative flip-- flip-+
pow2 distribute-rgt-in sub-neg distribute-rgt-out frac-2neg distribute-lft-in pow-plus diff-log div-sub clear-num associate-/r* pow-sqr pow-prod-up
Counts
4 → 183
Calls
4 calls:
16.0ms
(* (/ (+ x y) 2.0) (/ (+ x y) 2.0))
23.0ms
(* t (+ (/ (+ x y) 2.0) (/ z 2.0)))
12.0ms
(- (* (/ (+ x y) 2.0) (/ (+ x y) 2.0)) (* (/ z 2.0) (/ z 2.0)))
30.0ms
(/ (- (* (/ (+ x y) 2.0) (/ (+ x y) 2.0)) (* (/ z 2.0) (/ z 2.0))) (* t (+ (/ (+ x y) 2.0) (/ z 2.0))))

series440.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(* (/ (+ x y) 2.0) (/ (+ x y) 2.0))
44.0ms
(* t (+ (/ (+ x y) 2.0) (/ z 2.0)))
83.0ms
(- (* (/ (+ x y) 2.0) (/ (+ x y) 2.0)) (* (/ z 2.0) (/ z 2.0)))
108.0ms
(/ (- (* (/ (+ x y) 2.0) (/ (+ x y) 2.0)) (* (/ z 2.0) (/ z 2.0))) (* t (+ (/ (+ x y) 2.0) (/ z 2.0))))

simplify123.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (105.0ms)

IterNodesCost
08971915
146901675
250011662

prune388.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes100.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1126

end0.0ms

sample538.0ms

Algorithm
intervals
Results
277.0ms10850×body80valid