Details

Time bar (total: 2.4s)

sample44.0ms

Algorithm
intervals
Results
28.0ms699×body80valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0268
1518
2887
31537
43577
515637
650027

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (* 4.0 b) b (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
0.0b
(+ (* a a) (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
fma-def
+-commutative pow-to-exp flip3-+ *-commutative flip-+ fma-udef sqr-pow
Counts
3 → 8
Calls
3 calls:
1.0ms
(fma (* 4.0 b) b (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
4.0ms
(+ (* a a) (* b b))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)

series193.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(fma (* 4.0 b) b (- (pow (+ (* a a) (* b b)) 2.0) 1.0))
28.0ms
(+ (* a a) (* b b))
97.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify47.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
013375
152768
2164367
3500265

prune46.0ms

Filtered
17 candidates to 12 candidates (70.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New13417
Fresh000
Picked101
Done000
Total14418

Merged error: 0.0b

Counts
18 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (* 4.0 b) b (- (pow (fma a a (* b b)) 2.0) 1.0))
0.0b
(fma a a (* b b))
0.3b
(pow (fma a a (* b b)) 2.0)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
pow-to-exp sqr-pow
Counts
3 → 4
Calls
3 calls:
1.0ms
(fma (* 4.0 b) b (- (pow (fma a a (* b b)) 2.0) 1.0))
1.0ms
(fma a a (* b b))
3.0ms
(pow (fma a a (* b b)) 2.0)

series201.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(fma (* 4.0 b) b (- (pow (fma a a (* b b)) 2.0) 1.0))
32.0ms
(fma a a (* b b))
104.0ms
(pow (fma a a (* b b)) 2.0)

simplify33.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
07750
126649
284447
3500247

prune27.0ms

Filtered
13 candidates to 7 candidates (53.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh123
Picked011
Done000
Total13417

Merged error: 0.0b

Counts
17 → 4

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (* 4.0 b) b (- (fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4)) 1.0))
0.0b
(* 2.0 (pow a 2))
0.7b
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r* fma-udef
*-commutative unpow2 sqr-pow
Counts
3 → 5
Calls
3 calls:
1.0ms
(fma (* 4.0 b) b (- (fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4)) 1.0))
3.0ms
(* 2.0 (pow a 2))
1.0ms
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

series166.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(fma (* 4.0 b) b (- (fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4)) 1.0))
27.0ms
(* 2.0 (pow a 2))
68.0ms
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

simplify89.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
05751
119148
259844
3244642
4500142

prune25.0ms

Filtered
14 candidates to 7 candidates (50.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New14014
Fresh022
Picked011
Done011
Total14418

Merged error: 0.0b

Counts
18 → 4

localize8.0ms

Local error

Found 1 expressions with local error:

0.4b
(pow (/ -1 a) -4.0)

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow-to-exp unpow-prod-down div-inv sqr-pow
Counts
1 → 3
Calls
1 calls:
2.0ms
(pow (/ -1 a) -4.0)

series176.0ms

Counts
1 → 3
Calls
1 calls:
176.0ms
(pow (/ -1 a) -4.0)

simplify65.0ms

Algorithm
egg-herbie
Counts
6 → 6
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04922
19318
220918
359718
4218718
5500118

prune8.0ms

Filtered
6 candidates to 3 candidates (50.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New606
Fresh011
Picked011
Done022
Total6410

Merged error: 0.0b

Counts
10 → 4

regimes40.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1126

end0.0ms

sample1.2s

Algorithm
intervals
Results
793.0ms20696×body80valid