Details

Time bar (total: 15.4s)

sample130.0ms

Algorithm
intervals
Results
51.0ms805×body80nan
23.0ms293×body80valid
0.0msbody320valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03910
11118
24648
316548
450018

prune11.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: 0.1b

Counts
2 → 2

localize19.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (fma x (log y) z) (+ t a))
0.1b
(fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))
0.1b
(fma x (log y) z)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
+-commutative associate-+r+
associate-+l+ flip3-+ flip-+
Counts
3 → 8
Calls
3 calls:
3.0ms
(+ (fma x (log y) z) (+ t a))
1.0ms
(fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))
1.0ms
(fma x (log y) z)

series456.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(+ (fma x (log y) z) (+ t a))
327.0ms
(fma (log c) (- b 0.5) (+ (fma x (log y) z) (+ t a)))
52.0ms
(fma x (log y) z)

simplify35.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
013376
140772
2139368
3500264

prune59.0ms

Filtered
17 candidates to 12 candidates (70.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New17017
Fresh011
Picked011
Done000
Total17219

Merged error: 0.1b

Counts
19 → 2

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* x (log y)) z) t)
0.0b
(+ (+ (+ (+ (* x (log y)) z) t) a) (* (- b 0.5) (log c)))
0.2b
(* (- b 0.5) (log c))
0.3b
(* x (log y))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
14×associate-+l+
+-commutative associate-*l/
flip3-+ frac-add flip-+
flip3-- flip--
*-commutative
Counts
4 → 22
Calls
4 calls:
5.0ms
(+ (+ (* x (log y)) z) t)
10.0ms
(+ (+ (+ (+ (* x (log y)) z) t) a) (* (- b 0.5) (log c)))
3.0ms
(* (- b 0.5) (log c))
3.0ms
(* x (log y))

series383.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(+ (+ (* x (log y)) z) t)
248.0ms
(+ (+ (+ (+ (* x (log y)) z) t) a) (* (- b 0.5) (log c)))
52.0ms
(* (- b 0.5) (log c))
38.0ms
(* x (log y))

simplify45.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0435378
11772344
25001333

prune166.0ms

Filtered
34 candidates to 29 candidates (85.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New33134
Fresh000
Picked011
Done011
Total33336

Merged error: 0.1b

Counts
36 → 3

localize38.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (+ (fma x (log y) z) (- t a)) (- (* b b) (* 0.5 0.5))) (log c))
5.8b
(fma (fma x (log y) (+ t z)) (fma x (log y) (+ t z)) (- (* a a)))
12.7b
(fma (+ b 0.5) (fma (fma x (log y) (+ t z)) (fma x (log y) (+ t z)) (- (* a a))) (* (* (+ (fma x (log y) z) (- t a)) (- (* b b) (* 0.5 0.5))) (log c)))
50.1b
(/ (fma (+ b 0.5) (fma (fma x (log y) (+ t z)) (fma x (log y) (+ t z)) (- (* a a))) (* (* (+ (fma x (log y) z) (- t a)) (- (* b b) (* 0.5 0.5))) (log c))) (* (+ b 0.5) (+ (fma x (log y) z) (- t a))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-*l/
flip3-+ flip-+
frac-times associate-/r/
*-commutative
associate-*l*
associate-*r/ associate-*r* difference-of-squares
flip3-- flip--
associate-/r* fma-udef
frac-2neg clear-num div-inv
Counts
4 → 30
Calls
4 calls:
10.0ms
(* (* (+ (fma x (log y) z) (- t a)) (- (* b b) (* 0.5 0.5))) (log c))
1.0ms
(fma (fma x (log y) (+ t z)) (fma x (log y) (+ t z)) (- (* a a)))
1.0ms
(fma (+ b 0.5) (fma (fma x (log y) (+ t z)) (fma x (log y) (+ t z)) (- (* a a))) (* (* (+ (fma x (log y) z) (- t a)) (- (* b b) (* 0.5 0.5))) (log c)))
5.0ms
(/ (fma (+ b 0.5) (fma (fma x (log y) (+ t z)) (fma x (log y) (+ t z)) (- (* a a))) (* (* (+ (fma x (log y) z) (- t a)) (- (* b b) (* 0.5 0.5))) (log c))) (* (+ b 0.5) (+ (fma x (log y) z) (- t a))))

series9.1s

Counts
4 → 12
Calls
4 calls:
361.0ms
(* (* (+ (fma x (log y) z) (- t a)) (- (* b b) (* 0.5 0.5))) (log c))
716.0ms
(fma (fma x (log y) (+ t z)) (fma x (log y) (+ t z)) (- (* a a)))
2.6s
(fma (+ b 0.5) (fma (fma x (log y) (+ t z)) (fma x (log y) (+ t z)) (- (* a a))) (* (* (+ (fma x (log y) z) (- t a)) (- (* b b) (* 0.5 0.5))) (log c)))
5.4s
(/ (fma (+ b 0.5) (fma (fma x (log y) (+ t z)) (fma x (log y) (+ t z)) (- (* a a))) (* (* (+ (fma x (log y) z) (- t a)) (- (* b b) (* 0.5 0.5))) (log c))) (* (+ b 0.5) (+ (fma x (log y) z) (- t a))))

simplify51.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0487664
11858644
25001636

prune288.0ms

Filtered
42 candidates to 37 candidates (88.1%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh000
Picked011
Done022
Total42345

Merged error: 0.1b

Counts
45 → 3

regimes389.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1198

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.8s27584×body80nan
662.0ms9166×body80valid
0.0msbody1280valid
0.0msbody160valid
0.0msbody320valid