Details

Time bar (total: 7.1s)

sample37.0ms

Algorithm
intervals
Results
10.0ms297×body80valid
6.0ms249×body80nan

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0265
1575
21215
32415
43645
54905
66415
710235
817975
921555
1021615
1121615

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
17×add-sqr-sqrt
13×add-cube-cbrt
11×associate-+l+
pow1 prod-diff
distribute-lft-out
associate-*r*
add-log-exp
add-exp-log fma-def add-cbrt-cube distribute-lft-out--
log-pow
expm1-log1p-u associate-+r+ log-prod associate-*l* log1p-expm1-u
flip3-+ associate-*r/ sum-log flip-+
+-commutative distribute-rgt-in associate-+l- sub-neg distribute-lft-in diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef difference-of-squares unswap-sqr
Counts
3 → 76
Calls
3 calls:
0.0ms
(fma x 0.5 (* y (+ (- 1.0 z) (log z))))
32.0ms
(+ (- 1.0 z) (log z))
82.0ms
(* y (+ (- 1.0 z) (log z)))

series277.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(fma x 0.5 (* y (+ (- 1.0 z) (log z))))
153.0ms
(+ (- 1.0 z) (log z))
69.0ms
(* y (+ (- 1.0 z) (log z)))

simplify42.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0336468
11466370
25001366

prune234.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z))))) (cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z))))))
0.6b
(cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z)))))
0.6b
(cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z)))))
0.6b
(cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z)))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
11.0ms
(* (cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z))))) (cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z))))))
1.0ms
(cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z)))))
1.0ms
(cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z)))))
1.0ms
(cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z)))))

series1.7s

Counts
4 → 12
Calls
4 calls:
596.0ms
(* (cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z))))) (cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z))))))
353.0ms
(cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z)))))
355.0ms
(cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z)))))
350.0ms
(cbrt (fma x 0.5 (* y (+ (- 1.0 z) (log z)))))

simplify46.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03191263
112081169
250011065

prune311.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))
0.5b
(* (log z) (log z))
3.4b
(* y (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z))))
7.6b
(/ (* y (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))) (- (- 1.0 z) (log z)))

rewrite249.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
66×associate--l+
64×distribute-rgt-in distribute-lft-in
60×add-sqr-sqrt
57×prod-diff
52×add-cube-cbrt
23×pow1
13×add-exp-log add-cbrt-cube
12×log-prod distribute-lft-out--
10×log-pow
sub-neg
times-frac associate-*r* associate-/r*
associate-*l*
swap-sqr associate--r+ add-log-exp
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u difference-of-squares
prod-exp cbrt-unprod
cbrt-undiv div-exp pow-prod-down associate-/r/ *-commutative associate-/l/ unswap-sqr
pow2 frac-2neg pow-plus fma-neg diff-log clear-num pow-sqr pow-prod-up div-inv associate-/l*
Counts
4 → 193
Calls
4 calls:
31.0ms
(- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))
10.0ms
(* (log z) (log z))
89.0ms
(* y (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z))))
108.0ms
(/ (* y (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))) (- (- 1.0 z) (log z)))

series465.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))
149.0ms
(* (log z) (log z))
79.0ms
(* y (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z))))
202.0ms
(/ (* y (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))) (- (- 1.0 z) (log z)))

simplify127.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
09032517
141831909
250011898

prune500.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))
0.2b
(/ y (/ (- (- 1.0 z) (log z)) (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))))
0.5b
(* (log z) (log z))
8.7b
(/ (- (- 1.0 z) (log z)) (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z))))

rewrite269.0ms

Algorithm
rewrite-expression-head
Rules
299×*-un-lft-identity
274×times-frac
173×add-sqr-sqrt
129×add-cube-cbrt
126×distribute-lft-out--
63×difference-of-squares
59×pow1
48×log-pow
42×associate-/r*
22×associate--l+
19×prod-diff
17×distribute-rgt-in distribute-lft-in
13×add-exp-log add-cbrt-cube
12×log-prod
11×associate-/r/ associate-/l*
flip3-- flip--
swap-sqr div-inv associate--r+ add-log-exp
cbrt-undiv expm1-log1p-u div-exp associate-*r* associate-*l* log1p-expm1-u
sub-neg
frac-2neg clear-num associate-/l/
pow2 pow-plus fma-neg diff-log div-sub pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
Counts
4 → 318
Calls
4 calls:
31.0ms
(- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))
87.0ms
(/ y (/ (- (- 1.0 z) (log z)) (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))))
10.0ms
(* (log z) (log z))
117.0ms
(/ (- (- 1.0 z) (log z)) (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z))))

series455.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))
198.0ms
(/ y (/ (- (- 1.0 z) (log z)) (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z)))))
149.0ms
(* (log z) (log z))
69.0ms
(/ (- (- 1.0 z) (log z)) (- (* (- 1.0 z) (- 1.0 z)) (* (log z) (log z))))

simplify75.0ms

Algorithm
egg-herbie
Counts
330 → 330
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012285412
150015135

prune842.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes139.0ms

Accuracy

0% (0.1b 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
0125
1125

end0.0ms

sample1.1s

Algorithm
intervals
Results
312.0ms9198×body80valid
249.0ms9213×body80nan