Details

Time bar (total: 2.9s)

sample24.0ms

Algorithm
intervals
Results
12.0ms326×body80valid

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

prune4.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
(+ x (* y (- z x)))
0.0b
(* y (- z x))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*r*
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+r+ distribute-lft-in add-cbrt-cube add-log-exp
associate-*l*
associate-*r/
+-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 → 41
Calls
2 calls:
3.0ms
(+ x (* y (- z x)))
12.0ms
(* y (- z x))

series24.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0172180
1731165
23520165
35001165

prune197.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative distribute-lft-neg-out add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+ unsub-neg
Counts
2 → 26
Calls
2 calls:
2.0ms
(+ x (* z y))
9.0ms
(+ (+ x (* z y)) (* (- x) y))

series15.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0167172
1672154
23123150
35002144

prune158.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (- z x))
0.3b
(* (sqrt (* y (- z x))) (sqrt (* y (- z x))))
2.3b
(sqrt (* y (- z x)))
2.3b
(sqrt (* y (- z x)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1
32×sqrt-pow1
23×pow-prod-down
20×associate-*r/
16×add-sqr-sqrt sqrt-div
12×*-un-lft-identity pow1/2
10×add-cube-cbrt pow-prod-up
flip3-- associate-*r* flip--
add-exp-log add-cbrt-cube
associate-*l*
sqrt-prod pow-sqr
frac-times swap-sqr add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 pow-plus sqrt-unprod rem-square-sqrt distribute-lft-out-- difference-of-squares
Counts
4 → 109
Calls
4 calls:
9.0ms
(* y (- z x))
27.0ms
(* (sqrt (* y (- z x))) (sqrt (* y (- z x))))
3.0ms
(sqrt (* y (- z x)))
3.0ms
(sqrt (* y (- z x)))

series62.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* y (- z x))
25.0ms
(* (sqrt (* y (- z x))) (sqrt (* y (- z x))))
13.0ms
(sqrt (* y (- z x)))
16.0ms
(sqrt (* y (- z x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0253538
11197473
25001451

prune567.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

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

series39.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (- z x))
8.0ms
(+ x (* (* y (sqrt (- z x))) (sqrt (- z x))))
14.0ms
(* y (sqrt (- z x)))
9.0ms
(* (* y (sqrt (- z x))) (sqrt (- z x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0404645
11696538
25001521

prune507.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes134.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
0145
1185
2195
3195

end0.0ms

sample610.0ms

Algorithm
intervals
Results
392.0ms10155×body80valid