Details

Time bar (total: 5.6s)

sample108.0ms

Algorithm
intervals
Results
40.0ms822×body80nan
10.0ms182×body80valid
9.0ms15×body1280valid
7.0ms23×body640valid
4.0ms22×body320valid
2.0ms15×body160valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0227
1386
2536
3616
4786
51106
61756
72846
83636
93926
104766
114766

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.9b

Counts
2 → 2

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (log (- 1.0 y)))
0.1b
(fma (log y) x (- (* z (log (- 1.0 y))) t))
4.2b
(log (- 1.0 y))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
log-div
flip3-- *-commutative flip-- fma-udef
Counts
3 → 4
Calls
3 calls:
3.0ms
(* z (log (- 1.0 y)))
1.0ms
(fma (log y) x (- (* z (log (- 1.0 y))) t))
2.0ms
(log (- 1.0 y))

series226.0ms

Counts
3 → 9
Calls
3 calls:
67.0ms
(* z (log (- 1.0 y)))
113.0ms
(fma (log y) x (- (* z (log (- 1.0 y))) t))
45.0ms
(log (- 1.0 y))

simplify62.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0225101
168796
2235993
3500192

prune55.0ms

Filtered
13 candidates to 13 candidates (100.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh101
Picked011
Done000
Total13215

Merged error: 0.2b

Counts
15 → 2

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
0.0b
(* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))
0.1b
(fma (log y) x (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t))
9.7b
(* z (pow y 2))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-*r*
associate-*r/ unpow2 sqr-pow
times-frac
*-commutative
associate-/l*
clear-num associate-/r* fma-udef
frac-2neg un-div-inv div-inv
Counts
4 → 25
Calls
4 calls:
1.0ms
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
6.0ms
(* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))
1.0ms
(fma (log y) x (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t))
3.0ms
(* z (pow y 2))

series358.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2))))
61.0ms
(* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))
158.0ms
(fma (log y) x (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t))
32.0ms
(* z (pow y 2))

simplify73.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0135105
1457102
22222102
35001102

prune147.0ms

Filtered
37 candidates to 27 candidates (73.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New36137
Fresh000
Picked101
Done011
Total37239

Merged error: 0.2b

Counts
39 → 2

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (log y) x) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t))
0.0b
(* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))
0.2b
(* (log y) x)
9.7b
(* z (pow y 2))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-*r*
associate-*r/ unpow2 sqr-pow
times-frac
*-commutative
associate-/l*
associate-+r+
fma-def clear-num associate-/r*
+-commutative associate-+r- sub-neg frac-2neg flip3-+ associate--l+ un-div-inv flip-+ fma-udef div-inv
Counts
4 → 33
Calls
4 calls:
5.0ms
(+ (* (log y) x) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t))
6.0ms
(* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))
2.0ms
(* (log y) x)
3.0ms
(* z (pow y 2))

series316.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(+ (* (log y) x) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t))
57.0ms
(* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))
65.0ms
(* (log y) x)
33.0ms
(* z (pow y 2))

simplify122.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0227228
1775223
23973218
35001218

prune180.0ms

Filtered
45 candidates to 34 candidates (75.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New43245
Fresh000
Picked011
Done011
Total43447

Merged error: 0.2b

Counts
47 → 4

localize31.0ms

Local error

Found 4 expressions with local error:

9.7b
(* z (pow y 2))
9.7b
(* z (pow y 2))
9.7b
(* z (pow y 2))
31.7b
(/ (* (- (* (log y) x) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t)) (fma x (log y) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t))) (- (* (log y) x) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r*
*-commutative
unpow2 sqr-pow
flip3-- associate-*l/ associate-/r/ flip-- associate-/l/ associate-/l*
frac-2neg clear-num div-inv
Counts
4 → 18
Calls
4 calls:
3.0ms
(* z (pow y 2))
3.0ms
(* z (pow y 2))
3.0ms
(* z (pow y 2))
9.0ms
(/ (* (- (* (log y) x) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t)) (fma x (log y) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t))) (- (* (log y) x) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t)))

series258.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* z (pow y 2))
33.0ms
(* z (pow y 2))
28.0ms
(* z (pow y 2))
168.0ms
(/ (* (- (* (log y) x) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t)) (fma x (log y) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t))) (- (* (log y) x) (- (fma z (log 1.0) (- (fma 1.0 (* z y) (* 1/2 (/ (* z (pow y 2)) (pow 1.0 2)))))) t)))

simplify115.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0171324
1705264
23919264
35001263

prune131.0ms

Filtered
30 candidates to 20 candidates (66.7%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New26430
Fresh101
Picked011
Done022
Total27734

Merged error: 0.1b

Counts
34 → 7

regimes209.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02614
12614

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.1s23996×body80nan
296.0ms5550×body80valid
266.0ms872×body640valid
244.0ms408×body1280valid
138.0ms758×body320valid
51.0ms444×body160valid