Details

Time bar (total: 7.7s)

sample37.0ms

Algorithm
intervals
Results
19.0ms391×body80valid

simplify131.0ms

Counts
1 → 1
Iterations

Useful iterations: 4 (40.0ms)

IterNodesCost
01315
12615
26512
312611
416210
517110
617410
done17410

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

rewrite63.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))
42.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
10.0ms
(+ (+ x (* y z)) (* t a))
7.0ms
(* (* a z) b)

series198.0ms

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

simplify991.0ms

Counts
85 → 85
Iterations

Useful iterations: done (988.0ms)

IterNodesCost
0123930
1354781
21452697
done5000695

prune293.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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

series94.0ms

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

simplify922.0ms

Counts
13 → 13
Iterations

Useful iterations: 3 (26.0ms)

IterNodesCost
026165
143161
288139
3260137
41464137
done5000137

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

series102.0ms

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

simplify1.6s

Counts
38 → 38
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
056362
1101353
2238303
3719303
42843303
done5000303

prune104.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

rewrite19.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:
4.0ms
(* a (sqrt (fma z b t)))
11.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))

series277.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(* a (sqrt (fma z b t)))
46.0ms
(* (* a (sqrt (fma z b t))) (sqrt (fma z b t)))
68.0ms
(sqrt (fma z b t))
74.0ms
(sqrt (fma z b t))

simplify1.5s

Counts
89 → 89
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01071076
1270839
2826749
32786729
done5001721

prune254.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes174.0ms

Accuracy

39.5% (1.2b remaining)

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

bsearch46.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

sample852.0ms

Algorithm
intervals
Results
457.0ms11778×body80valid