Details

Time bar (total: 10.0s)

sample39.0ms

Algorithm
intervals
Results
15.0ms370×body80valid

simplify178.0ms

Counts
1 → 1
Iterations

Useful iterations: 4 (61.0ms)

IterNodesCost
01315
12615
26712
313611
418010
519110
619410
done19410

prune15.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)) (* t a))
0.0b
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
0.0b
(+ x (* y z))
4.7b
(* (* a z) b)

rewrite158.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:
26.0ms
(+ (+ x (* y z)) (* t a))
105.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
6.0ms
(+ x (* y z))
19.0ms
(* (* a z) b)

series215.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(+ (+ x (* y z)) (* t a))
100.0ms
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b))
28.0ms
(+ x (* y z))
33.0ms
(* (* a z) b)

simplify942.0ms

Counts
85 → 85
Iterations

Useful iterations: done (934.0ms)

IterNodesCost
0123930
1353781
21526697
done5002662

prune272.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma z y (fma (fma z b t) a x))
3.4b
(fma (fma z b t) a 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
2 → 20
Calls
2 calls:
0.0ms
(fma z y (fma (fma z b t) a x))
1.0ms
(fma (fma z b t) a x)

series189.0ms

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

simplify1.8s

Counts
26 → 26
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
037287
160281
2132239
3512237
43583237
done5000237

prune92.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (fma a (fma z b t) (fma z y x)))
3.4b
(fma a (fma z b t) (fma z y x))
3.4b
(fma a (fma z b t) (fma z y x))
3.4b
(fma a (fma z b t) (fma z y 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 a (fma z b t) (fma z y x)))
0.0ms
(fma a (fma z b t) (fma z y x))
0.0ms
(fma a (fma z b t) (fma z y x))
0.0ms
(fma a (fma z b t) (fma z y x))

series643.0ms

Counts
4 → 12
Calls
4 calls:
337.0ms
(cbrt (fma a (fma z b t) (fma z y x)))
103.0ms
(fma a (fma z b t) (fma z y x))
104.0ms
(fma a (fma z b t) (fma z y x))
100.0ms
(fma a (fma z b t) (fma z y x))

simplify2.2s

Counts
55 → 55
Iterations

Useful iterations: 4 (1.2s)

IterNodesCost
064752
1126735
2306645
31049632
44591623
done5000623

prune238.0ms

Pruning

4 alts after pruning (1 fresh and 3 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))
1.0b
(* (* (* a z) (sqrt b)) (sqrt b))
1.4b
(* (* a z) (sqrt b))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
12×associate-*r*
11×add-log-exp
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod
fma-def sqrt-prod
expm1-log1p-u sum-log log1p-expm1-u
+-commutative flip3-+ associate-*l* *-commutative flip-+
associate-+l+
Counts
4 → 83
Calls
4 calls:
28.0ms
(+ (+ x (* y z)) (* t a))
7.0ms
(+ x (* y z))
68.0ms
(* (* (* a z) (sqrt b)) (sqrt b))
22.0ms
(* (* a z) (sqrt b))

series175.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(+ (+ x (* y z)) (* t a))
33.0ms
(+ x (* y z))
40.0ms
(* (* (* a z) (sqrt b)) (sqrt b))
48.0ms
(* (* a z) (sqrt b))

simplify1.2s

Counts
95 → 95
Iterations

Useful iterations: done (1.2s)

IterNodesCost
0141998
1400793
21560680
done5000667

prune289.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes210.0ms

Accuracy

32.5% (1.3b remaining)

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

bsearch52.0ms

Steps
ItersRangePoint
9
-5.506612743790931e-114
-2.834157559230948e-121
-1.1587911218134321e-117

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01929
12629
done2629

end0.0ms

sample984.0ms

Algorithm
intervals
Results
417.0ms11861×body80valid