Details

Time bar (total: 3.1s)

sample15.0ms

Algorithm
intervals
Results
6.0ms313×body80valid

simplify179.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1173
2313
3463
4533
5623
6803
71183
82353
94673
108323
1112123
1217863
1334073
1450023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- y x) z)
0.0b
(+ x (* (- y x) z))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
associate-*l/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 33
Calls
2 calls:
7.0ms
(* (- y x) z)
3.0ms
(+ x (* (- y x) z))

series62.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(* (- y x) z)
33.0ms
(+ x (* (- y x) z))

simplify67.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0163162
1556145
22758145
35001145

prune66.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- y x))
0.0b
(+ x (* (sqrt (- y x)) (* (sqrt (- y x)) z)))
0.1b
(* (sqrt (- y x)) z)
0.2b
(* (sqrt (- y x)) (* (sqrt (- y x)) z))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
16×*-un-lft-identity sqrt-div associate-*l* sqrt-prod
12×pow1
11×add-exp-log add-cbrt-cube
10×add-cube-cbrt associate-*l/
flip3-- flip--
add-log-exp
frac-times associate-*r* pow-prod-down prod-exp cbrt-unprod
distribute-lft-out-- difference-of-squares
associate-*r/ *-commutative unswap-sqr
+-commutative rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sum-log flip-+
Counts
4 → 85
Calls
4 calls:
4.0ms
(sqrt (- y x))
3.0ms
(+ x (* (sqrt (- y x)) (* (sqrt (- y x)) z)))
7.0ms
(* (sqrt (- y x)) z)
15.0ms
(* (sqrt (- y x)) (* (sqrt (- y x)) z))

series205.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(sqrt (- y x))
28.0ms
(+ x (* (sqrt (- y x)) (* (sqrt (- y x)) z)))
83.0ms
(* (sqrt (- y x)) z)
29.0ms
(* (sqrt (- y x)) (* (sqrt (- y x)) z))

simplify40.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0365624
11224529
25002516

prune195.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (sqrt (- y x)))
0.1b
(* (sqrt (- y x)) z)
0.1b
(* (sqrt (sqrt (- y x))) (* (sqrt (- y x)) z))
0.1b
(* (sqrt (sqrt (- y x))) (* (sqrt (sqrt (- y x))) (* (sqrt (- y x)) z)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
114×sqrt-div
46×sqrt-prod
36×associate-*l/
35×flip3-- flip--
32×frac-times
30×associate-*l*
29×add-sqr-sqrt
23×*-un-lft-identity
22×pow1
20×add-exp-log add-cbrt-cube
16×associate-*r/
15×add-cube-cbrt
10×pow-prod-down prod-exp cbrt-unprod
associate-*r*
sqrt-pow1 distribute-lft-out-- add-log-exp difference-of-squares
*-commutative
rem-sqrt-square pow1/2 unswap-sqr
Counts
4 → 138
Calls
4 calls:
4.0ms
(sqrt (sqrt (- y x)))
7.0ms
(* (sqrt (- y x)) z)
13.0ms
(* (sqrt (sqrt (- y x))) (* (sqrt (- y x)) z))
22.0ms
(* (sqrt (sqrt (- y x))) (* (sqrt (sqrt (- y x))) (* (sqrt (- y x)) z)))

series598.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(sqrt (sqrt (- y x)))
85.0ms
(* (sqrt (- y x)) z)
336.0ms
(* (sqrt (sqrt (- y x))) (* (sqrt (- y x)) z))
32.0ms
(* (sqrt (sqrt (- y x))) (* (sqrt (sqrt (- y x))) (* (sqrt (- y x)) z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05961550
120381309
250011209

prune383.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (* x (+ x y)) (pow y 2))
2.0b
(- (pow y 3) (pow x 3))
7.3b
(* (- (pow y 3) (pow x 3)) z)
35.2b
(/ (* (- (pow y 3) (pow x 3)) z) (+ (* x (+ x y)) (pow y 2)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
32×difference-of-squares
28×*-un-lft-identity
25×associate-*l*
24×unpow-prod-down cube-prod
16×sqr-pow
11×add-exp-log add-cbrt-cube
10×distribute-lft-out--
add-cube-cbrt add-log-exp
pow1
associate-*l/
flip3-- times-frac associate-*r* associate-/r* flip--
difference-cubes cbrt-undiv associate-+l+ flip3-+ div-exp prod-exp associate-/r/ cbrt-unprod flip-+ associate-/l/
+-commutative distribute-rgt-in sub-neg frac-2neg distribute-lft-in diff-log pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 114
Calls
4 calls:
8.0ms
(+ (* x (+ x y)) (pow y 2))
12.0ms
(- (pow y 3) (pow x 3))
17.0ms
(* (- (pow y 3) (pow x 3)) z)
26.0ms
(/ (* (- (pow y 3) (pow x 3)) z) (+ (* x (+ x y)) (pow y 2)))

series214.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (* x (+ x y)) (pow y 2))
50.0ms
(- (pow y 3) (pow x 3))
63.0ms
(* (- (pow y 3) (pow x 3)) z)
82.0ms
(/ (* (- (pow y 3) (pow x 3)) z) (+ (* x (+ x y)) (pow y 2)))

simplify67.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0419950
11954848
25001848

prune319.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes84.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample390.0ms

Algorithm
intervals
Results
192.0ms10079×body80valid