Details

Time bar (total: 15.4s)

sample79.0ms

Algorithm
intervals
Results
32.0ms360×body80valid

simplify279.0ms

Counts
1 → 1
Iterations

Useful iterations: 4 (95.0ms)

IterNodesCost
01315
12615
26712
313611
418010
519110
619410
done19410

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma z y (fma (fma z b t) a x))
2.9b
(fma (fma z b t) a x)

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 (fma (fma z b t) a x))
1.0ms
(fma (fma z b t) a x)

series326.0ms

Counts
2 → 6
Calls
2 calls:
175.0ms
(fma z y (fma (fma z b t) a x))
150.0ms
(fma (fma z b t) a x)

simplify3.1s

Counts
26 → 26
Iterations

Useful iterations: 3 (539.0ms)

IterNodesCost
037287
160281
2132239
3512237
43583237
done5000237

prune138.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite245.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:
50.0ms
(+ (+ x (* y z)) (* t a))
130.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
20.0ms
(+ x (* y z))
41.0ms
(* (* a z) b)

series357.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(+ (+ x (* y z)) (* t a))
190.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
35.0ms
(+ x (* y z))
33.0ms
(* (* a z) b)

simplify1.4s

Counts
85 → 85
Iterations

Useful iterations: done (1.4s)

IterNodesCost
0123930
1353781
21526697
done5002662

prune416.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize38.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (fma (fma z b t) a x))
2.9b
(fma (fma z b t) a x)
2.9b
(fma (fma z b t) a x)
2.9b
(fma (fma z b t) a x)

rewrite3.0ms

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

series648.0ms

Counts
4 → 12
Calls
4 calls:
316.0ms
(cbrt (fma (fma z b t) a x))
119.0ms
(fma (fma z b t) a x)
101.0ms
(fma (fma z b t) a x)
112.0ms
(fma (fma z b t) a x)

simplify2.9s

Counts
55 → 55
Iterations

Useful iterations: 4 (1.5s)

IterNodesCost
060578
1120567
2296489
31023482
44080473
done5000473

prune377.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (fma (fma z b t) a x))
0.2b
(* (sqrt (fma (fma z b t) a x)) (sqrt (fma (fma z b t) a x)))
2.9b
(fma (fma z b t) a x)
2.9b
(fma (fma z b t) a x)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
fma-udef
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 86
Calls
4 calls:
2.0ms
(sqrt (fma (fma z b t) a x))
24.0ms
(* (sqrt (fma (fma z b t) a x)) (sqrt (fma (fma z b t) a x)))
0.0ms
(fma (fma z b t) a x)
0.0ms
(fma (fma z b t) a x)

series753.0ms

Counts
4 → 12
Calls
4 calls:
444.0ms
(sqrt (fma (fma z b t) a x))
117.0ms
(* (sqrt (fma (fma z b t) a x)) (sqrt (fma (fma z b t) a x)))
98.0ms
(fma (fma z b t) a x)
94.0ms
(fma (fma z b t) a x)

simplify1.5s

Counts
98 → 98
Iterations

Useful iterations: done (1.4s)

IterNodesCost
0871563
11671065
2446935
31586892
done5000858

prune291.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes291.0ms

Accuracy

85.1% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 2.6b

bsearch2.0ms

simplify5.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02271
13262
done3262

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s11787×body80valid