Details

Time bar (total: 15.5s)

sample41.0ms

Algorithm
intervals
Results
17.0ms360×body80valid

simplify252.0ms

Counts
1 → 1
Iterations

Useful iterations: 4 (98.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

localize23.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)

rewrite3.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)

series286.0ms

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

simplify2.8s

Counts
26 → 26
Iterations

Useful iterations: 3 (135.0ms)

IterNodesCost
037287
160281
2132239
3512237
43583237
done5000237

prune108.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize14.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)

rewrite267.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:
29.0ms
(+ (+ x (* y z)) (* t a))
189.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
12.0ms
(+ x (* y z))
35.0ms
(* (* a z) b)

series295.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(+ (+ x (* y z)) (* t a))
136.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
35.0ms
(+ x (* y z))
47.0ms
(* (* a z) b)

simplify1.5s

Counts
85 → 85
Iterations

Useful iterations: done (1.5s)

IterNodesCost
0123930
1353781
21526697
done5002662

prune367.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize37.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)

rewrite5.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:
2.0ms
(cbrt (fma (fma z b t) a x))
1.0ms
(fma (fma z b t) a x)
1.0ms
(fma (fma z b t) a x)
1.0ms
(fma (fma z b t) a x)

series672.0ms

Counts
4 → 12
Calls
4 calls:
316.0ms
(cbrt (fma (fma z b t) a x))
122.0ms
(fma (fma z b t) a x)
106.0ms
(fma (fma z b t) a x)
128.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

prune349.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize20.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)

rewrite39.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:
3.0ms
(sqrt (fma (fma z b t) a x))
29.0ms
(* (sqrt (fma (fma z b t) a x)) (sqrt (fma (fma z b t) a x)))
1.0ms
(fma (fma z b t) a x)
1.0ms
(fma (fma z b t) a x)

series823.0ms

Counts
4 → 12
Calls
4 calls:
400.0ms
(sqrt (fma (fma z b t) a x))
143.0ms
(* (sqrt (fma (fma z b t) a x)) (sqrt (fma (fma z b t) a x)))
150.0ms
(fma (fma z b t) a x)
130.0ms
(fma (fma z b t) a x)

simplify1.7s

Counts
98 → 98
Iterations

Useful iterations: done (1.7s)

IterNodesCost
0871563
11671065
2446935
31586892
done5000858

prune330.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes269.0ms

Accuracy

85.1% (0.4b remaining)

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

bsearch3.0ms

simplify5.0ms

Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
02271
13262
done3262

end0.0ms

sample2.4s

Algorithm
intervals
Results
944.0ms11787×body80valid