Details

Time bar (total: 1.9s)

sample17.0ms

Algorithm
intervals
Results
6.0ms335×body80valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1263
2623
31643
43203
54383
66003
78313
814513
923573
1025453
1125453

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt *-un-lft-identity
18×prod-diff
15×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
associate-*r*
frac-times associate-*l*
pow1 add-exp-log flip3-- flip3-+ add-cbrt-cube flip-- flip-+
sub-neg associate-*r/ associate-*l/
expm1-log1p-u pow-prod-down prod-exp *-commutative cbrt-unprod log1p-expm1-u distribute-lft-out distribute-lft-out-- add-log-exp difference-of-squares unswap-sqr
Counts
1 → 53
Calls
1 calls:
9.0ms
(* (+ x y) (- 1.0 z))

series32.0ms

Counts
1 → 3
Calls
1 calls:
32.0ms
(* (+ x y) (- 1.0 z))

simplify45.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0397499
11589357
25001356

prune88.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*l*
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 add-exp-log associate-*r* add-cbrt-cube add-log-exp
distribute-lft-neg-out distribute-lft-neg-in fma-def distribute-rgt-neg-in
distribute-rgt-in expm1-log1p-u associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+ log1p-expm1-u
+-commutative neg-mul-1 associate-+l+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod fma-udef distribute-lft-out unswap-sqr
Counts
2 → 54
Calls
2 calls:
3.0ms
(+ (fma 1.0 x (* 1.0 y)) (* (- z) (+ x y)))
7.0ms
(* (- z) (+ x y))

series84.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0289302
11292273
25002261

prune140.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.8b
(* (+ x y) (- (* 1.0 1.0) (* z z)))
9.3b
(/ (* (+ x y) (- (* 1.0 1.0) (* z z))) (+ 1.0 z))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt frac-times associate-/l/
flip3-+ flip-+
add-cube-cbrt flip3-- flip--
pow1 times-frac associate-*r/ associate-*r* associate-*l* associate-*l/ associate-/r*
distribute-rgt-in distribute-lft-in distribute-lft-out
cbrt-undiv expm1-log1p-u sub-neg div-exp prod-diff prod-exp associate-/r/ cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* difference-of-squares unswap-sqr
Counts
2 → 71
Calls
2 calls:
9.0ms
(* (+ x y) (- (* 1.0 1.0) (* z z)))
12.0ms
(/ (* (+ x y) (- (* 1.0 1.0) (* z z))) (+ 1.0 z))

series144.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(* (+ x y) (- (* 1.0 1.0) (* z z)))
80.0ms
(/ (* (+ x y) (- (* 1.0 1.0) (* z z))) (+ 1.0 z))

simplify68.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0476661
12521579
25002574

prune193.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
22×associate-*l*
14×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt sqrt-prod
pow1 add-exp-log add-cbrt-cube
distribute-lft-neg-in distribute-rgt-neg-in associate-*r/
distribute-rgt-in distribute-lft-in associate-*r*
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-+ *-commutative flip-+ log1p-expm1-u add-log-exp unswap-sqr
distribute-lft-neg-out neg-mul-1 distribute-lft-out
Counts
2 → 69
Calls
2 calls:
7.0ms
(* (sqrt z) (+ x y))
11.0ms
(* (- (sqrt z)) (* (sqrt z) (+ x y)))

series122.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(* (sqrt z) (+ x y))
51.0ms
(* (- (sqrt z)) (* (sqrt z) (+ x y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0358407
11666355
25001351

prune176.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes66.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
0166
1206
2256
3256

end0.0ms

sample412.0ms

Algorithm
intervals
Results
203.0ms10034×body80valid