Details

Time bar (total: 2.3s)

sample17.0ms

Algorithm
intervals
Results
6.0ms332×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

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

rewrite36.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:
8.0ms
(+ x (* y (- z x)))
27.0ms
(* y (- z x))

series81.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0172180
1731165
23520165
35001165

prune72.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.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-+l+ 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:
13.0ms
(+ (* y (- z x)) x)
23.0ms
(* y (- z x))

series63.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0173186
1708167
23215165
35002165

prune73.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
(sqrt (- z x))
0.0b
(sqrt (- z x))
0.1b
(* y (sqrt (- z x)))
0.2b
(* (* y (sqrt (- z x))) (sqrt (- z x)))

rewrite97.0ms

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

series259.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(sqrt (- z x))
64.0ms
(sqrt (- z x))
96.0ms
(* y (sqrt (- z x)))
38.0ms
(* (* y (sqrt (- z x))) (sqrt (- z x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0345607
11414527
25001507

prune194.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite77.0ms

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

series169.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(+ x (* (sqrt y) (* (sqrt y) (- z x))))
72.0ms
(* (sqrt y) (- z x))
47.0ms
(* (sqrt y) (* (sqrt y) (- z x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0337476
11436396
25002388

prune146.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample442.0ms

Algorithm
intervals
Results
179.0ms10110×body80valid