Details

Time bar (total: 7.8s)

sample33.0ms

Algorithm
intervals
Results
16.0ms391×body80valid

simplify87.0ms

Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
01315
12615
26512
312611
416210
517110
617410
done17410

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.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:
2.0ms
(+ x (* y z))
47.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
11.0ms
(+ (+ x (* y z)) (* t a))
7.0ms
(* (* a z) b)

series181.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ x (* y z))
83.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
44.0ms
(+ (+ x (* y z)) (* t a))
26.0ms
(* (* a z) b)

simplify646.0ms

Counts
85 → 85
Iterations

Useful iterations: done (644.0ms)

IterNodesCost
0123930
1354781
21452697
done5001695

prune248.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

1.9b
(fma a (fma z b t) (fma y z 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:
0.0ms
(fma a (fma z b t) (fma y z x))

series88.0ms

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

simplify572.0ms

Counts
13 → 13
Iterations

Useful iterations: 3 (25.0ms)

IterNodesCost
026165
143161
288139
3260137
41460137
done5001137

prune45.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l* fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 32
Calls
2 calls:
0.0ms
(fma z y (* a (fma z b t)))
3.0ms
(* a (fma z b t))

series100.0ms

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

simplify2.1s

Counts
38 → 38
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
056362
1101353
2305303
3979303
43574303
done5000303

prune91.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(* a (sqrt (fma z b t)))
0.2b
(* (* a (sqrt (fma z b t))) (sqrt (fma z b t)))
1.0b
(sqrt (fma z b t))
1.0b
(sqrt (fma z b t))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×pow1 sqrt-prod
12×associate-*r*
11×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 *-commutative unswap-sqr
Counts
4 → 77
Calls
4 calls:
5.0ms
(* a (sqrt (fma z b t)))
14.0ms
(* (* a (sqrt (fma z b t))) (sqrt (fma z b t)))
1.0ms
(sqrt (fma z b t))
1.0ms
(sqrt (fma z b t))

series260.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(* a (sqrt (fma z b t)))
42.0ms
(* (* a (sqrt (fma z b t))) (sqrt (fma z b t)))
66.0ms
(sqrt (fma z b t))
65.0ms
(sqrt (fma z b t))

simplify1.9s

Counts
89 → 89
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01071076
1270839
2912749
33718729
done5001721

prune223.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes178.0ms

Accuracy

39.5% (1.2b remaining)

Error of 1.2b against oracle of 0.0b and baseline of 1.9b

bsearch42.0ms

Steps
ItersRangePoint
7
-2.0161767902339397e+80
-4.7702391630974086e+78
-1.6703230867618247e+79

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01929
12629
done2629

end0.0ms

sample858.0ms

Algorithm
intervals
Results
471.0ms11778×body80valid