Details

Time bar (total: 3.6s)

sample34.0ms

Algorithm
intervals
Results
17.0ms386×body80valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 5 (19.0ms)

IterNodesCost
0267
1684
21404
32004
42144
52173
62173

prune10.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.0b

Counts
2 → 2

localize9.0ms

Local error

Found 1 expressions with local error:

2.4b
(fma (fma a b y) z (fma a t x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (fma a b y) z (fma a t x))

series95.0ms

Counts
1 → 3
Calls
1 calls:
94.0ms
(fma (fma a b y) z (fma a t x))

simplify75.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
04458
19351
230749
3203249
4500249

prune55.0ms

Filtered
13 candidates to 12 candidates (92.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New10313
Fresh011
Picked011
Done000
Total10515

Merged error: 0.0b

Counts
15 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (fma (fma a b y) z (fma a t x))) (cbrt (fma (fma a b y) z (fma a t x))))
2.4b
(fma (fma a b y) z (fma a t x))
2.4b
(fma (fma a b y) z (fma a t x))
2.4b
(fma (fma a b y) z (fma a t x))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×cbrt-prod
12×add-cube-cbrt *-un-lft-identity
11×pow1
add-cbrt-cube
add-exp-log pow1/3 swap-sqr associate-*r* associate-*l*
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
fma-udef
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative
Counts
4 → 75
Calls
4 calls:
6.0ms
(* (cbrt (fma (fma a b y) z (fma a t x))) (cbrt (fma (fma a b y) z (fma a t x))))
1.0ms
(fma (fma a b y) z (fma a t x))
1.0ms
(fma (fma a b y) z (fma a t x))
1.0ms
(fma (fma a b y) z (fma a t x))

series714.0ms

Counts
4 → 12
Calls
4 calls:
430.0ms
(* (cbrt (fma (fma a b y) z (fma a t x))) (cbrt (fma (fma a b y) z (fma a t x))))
95.0ms
(fma (fma a b y) z (fma a t x))
95.0ms
(fma (fma a b y) z (fma a t x))
94.0ms
(fma (fma a b y) z (fma a t x))

simplify111.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0205707
1728625
23539531
35002524

prune298.0ms

Filtered
87 candidates to 66 candidates (75.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New87087
Fresh033
Picked011
Done011
Total87592

Merged error: 0.0b

Counts
92 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
0.0b
(+ (+ x (* y z)) (* t a))
7.4b
(* (* a z) b)

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
117×*-un-lft-identity
73×distribute-lft-out
62×associate-*l*
17×add-log-exp
16×add-sqr-sqrt
14×fma-def
add-cube-cbrt sum-log
pow1 add-exp-log associate-+l+ add-cbrt-cube
associate-*r*
+-commutative
unswap-sqr
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-+ *-commutative flip-+
Counts
3 → 109
Calls
3 calls:
30.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
14.0ms
(+ (+ x (* y z)) (* t a))
10.0ms
(* (* a z) b)

series164.0ms

Counts
3 → 9
Calls
3 calls:
86.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
50.0ms
(+ (+ x (* y z)) (* t a))
27.0ms
(* (* a z) b)

simplify64.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0347555
11619468
25001436

prune271.0ms

Filtered
118 candidates to 69 candidates (58.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1144118
Fresh202
Picked101
Done022
Total1176123

Merged error: 0.0b

Counts
123 → 6

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma z y (* a t))
3.4b
(fma a (* z b) (fma z y (* a t)))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
1.0ms
(fma z y (* a t))
1.0ms
(fma a (* z b) (fma z y (* a t)))

series106.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(fma z y (* a t))
64.0ms
(fma a (* z b) (fma z y (* a t)))

simplify155.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 4 (151.0ms)

IterNodesCost
048111
113997
264597
3409197
4500195

prune92.0ms

Filtered
26 candidates to 24 candidates (92.3%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New26026
Fresh033
Picked011
Done022
Total26632

Merged error: 0.0b

Counts
32 → 6

regimes236.0ms

Accuracy

87.1% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 2.4b

bsearch118.0ms

Steps
ItersRangePoint
10
1.3745571897142734e-118
9.131830933029053e-100
2.882103223667287e-106
9
-6.431558208262041e+28
-5.336323348079087e+20
-7.706728458325138e+20

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0268
1268

end0.0ms

sample845.0ms

Algorithm
intervals
Results
451.0ms11765×body80valid