Details

Time bar (total: 9.2s)

sample30.0ms

Algorithm
intervals
Results
13.0ms391×body80valid

simplify94.0ms

Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
01315
12615
26512
312911
417110
518010
618310
done18310

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite64.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))
43.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
10.0ms
(+ (+ x (* y z)) (* t a))
6.0ms
(* (* a z) b)

series182.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ x (* y z))
84.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
48.0ms
(+ (+ x (* y z)) (* t a))
26.0ms
(* (* a z) b)

simplify580.0ms

Counts
85 → 85
Iterations

Useful iterations: 2 (112.0ms)

IterNodesCost
0123930
1365781
21528697
done5001697

prune249.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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

series89.0ms

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

simplify542.0ms

Counts
13 → 13
Iterations

Useful iterations: 3 (27.0ms)

IterNodesCost
026165
143161
289139
3266137
41484137
done5000137

prune44.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

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

series101.0ms

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

simplify2.9s

Counts
38 → 38
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
056362
1103353
2344303
31127303
44050303
done5000303

prune100.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

rewrite18.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)))
10.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))

series274.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* a (sqrt (fma z b t)))
41.0ms
(* (* a (sqrt (fma z b t))) (sqrt (fma z b t)))
72.0ms
(sqrt (fma z b t))
73.0ms
(sqrt (fma z b t))

simplify2.6s

Counts
89 → 89
Iterations

Useful iterations: 3 (493.0ms)

IterNodesCost
01071076
1275843
21019749
34529729
done5000729

prune257.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes190.0ms

Accuracy

39.5% (1.2b remaining)

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

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

sample828.0ms

Algorithm
intervals
Results
432.0ms11778×body80valid