Details

Time bar (total: 3.3s)

sample35.0ms

Algorithm
intervals
Results
17.0ms375×body80valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 5 (20.0ms)

IterNodesCost
0267
1684
21404
32004
42144
52173
62173

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

Counts
2 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
20×add-log-exp
10×sum-log
pow1 add-exp-log fma-def add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u
+-commutative flip3-+ associate-*r* pow-prod-down prod-exp cbrt-unprod flip-+
associate-+l+
associate-*l* *-commutative
Counts
4 → 73
Calls
4 calls:
3.0ms
(+ x (* y z))
5.0ms
(+ (+ x (* y z)) (* t a))
9.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
5.0ms
(* (* a z) b)

series195.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ x (* y z))
52.0ms
(+ (+ x (* y z)) (* t a))
89.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
27.0ms
(* (* a z) b)

simplify64.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0358405
11787339
25001330

prune240.0ms

Filtered
85 candidates to 68 candidates (80.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83285
Fresh011
Picked011
Done000
Total83487

Merged error: 0.0b

Counts
87 → 4

localize14.0ms

Local error

Found 1 expressions with local error:

2.0b
(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))

series98.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
04458
19351
230749
3203249
4500249

prune42.0ms

Filtered
13 candidates to 12 candidates (92.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New13013
Fresh022
Picked011
Done011
Total13417

Merged error: 0.0b

Counts
17 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
20×add-log-exp
10×sum-log
pow1 add-exp-log fma-def add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u
+-commutative flip3-+ associate-*l* pow-prod-down prod-exp cbrt-unprod flip-+
associate-+l+
associate-*r* *-commutative
Counts
4 → 73
Calls
4 calls:
3.0ms
(+ x (* y z))
5.0ms
(+ (+ x (* y z)) (* t a))
13.0ms
(+ (+ (+ x (* y z)) (* t a)) (* a (* z b)))
6.0ms
(* a (* z b))

series191.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ x (* y z))
47.0ms
(+ (+ x (* y z)) (* t a))
88.0ms
(+ (+ (+ x (* y z)) (* t a)) (* a (* z b)))
27.0ms
(* a (* z b))

simplify50.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0346404
11564338
25001329

prune217.0ms

Filtered
85 candidates to 65 candidates (76.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New84185
Fresh011
Picked011
Done022
Total84589

Merged error: 0.0b

Counts
89 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x (* y z)) (* t a))
0.0b
(+ (+ (+ x (* y z)) (* t a)) (* (sqrt a) (* (sqrt a) (* z b))))
0.8b
(* (sqrt a) (* (sqrt a) (* z b)))
1.3b
(* (sqrt a) (* z b))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube add-log-exp
12×associate-*l*
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down prod-exp sum-log cbrt-unprod
fma-def sqrt-prod
expm1-log1p-u log1p-expm1-u
+-commutative associate-+l+ flip3-+ associate-*r* *-commutative flip-+
Counts
4 → 86
Calls
4 calls:
5.0ms
(+ (+ x (* y z)) (* t a))
10.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (sqrt a) (* (sqrt a) (* z b))))
10.0ms
(* (sqrt a) (* (sqrt a) (* z b)))
6.0ms
(* (sqrt a) (* z b))

series242.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(+ (+ x (* y z)) (* t a))
98.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (sqrt a) (* (sqrt a) (* z b))))
36.0ms
(* (sqrt a) (* (sqrt a) (* z b)))
51.0ms
(* (sqrt a) (* z b))

simplify72.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0403633
11947493
25002476

prune262.0ms

Filtered
98 candidates to 71 candidates (72.4%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New98098
Fresh011
Picked011
Done033
Total985103

Merged error: 0.0b

Counts
103 → 5

regimes261.0ms

Accuracy

75.5% (0.6b remaining)

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

bsearch105.0ms

Steps
ItersRangePoint
7
5.661386535601215e+142
6.623747578396011e+144
5.792861305246143e+142
7
-1.4589195677542865e+81
-1.9189793615914056e+79
-1.8818349257803475e+80

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03514
13514

end0.0ms

sample967.0ms

Algorithm
intervals
Results
555.0ms11823×body80valid