Details

Time bar (total: 18.8s)

sample26.0ms

Algorithm
intervals
Results
11.0ms266×body80valid

simplify2.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01417
12416
24315
36515
49615
513015
616315
723915
839615
971015
10147915
11400015
done500115

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 22.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* z (- b y)))
0.0b
(* z (- t a))
1.4b
(+ (* x y) (* z (- t a)))
21.8b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
54×prod-diff
53×*-un-lft-identity
51×add-cube-cbrt
44×associate-+r+
33×distribute-rgt-in distribute-lft-in
times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1 sub-neg
associate-*r*
expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u
associate-*l* associate-/r* associate-/l*
+-commutative associate-*r/ sum-log associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 153
Calls
4 calls:
6.0ms
(+ y (* z (- b y)))
12.0ms
(* z (- t a))
6.0ms
(+ (* x y) (* z (- t a)))
11.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series493.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ y (* z (- b y)))
40.0ms
(* z (- t a))
51.0ms
(+ (* x y) (* z (- t a)))
366.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify829.0ms

Counts
165 → 165
Iterations

Useful iterations: done (824.0ms)

IterNodesCost
02792673
15792249
215291865
done50001847

prune550.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 21.9b

localize14.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ 1 (/ (fma (- b y) z y) (fma z (- t a) (* x y))))
0.8b
(fma z (- t a) (* x y))
21.8b
(/ (fma (- b y) z y) (fma z (- t a) (* x y)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×add-exp-log associate-/r*
10×add-cbrt-cube
div-exp
div-inv associate-/l*
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num
pow-flip associate-/r/ fma-udef inv-pow
Counts
3 → 117
Calls
3 calls:
9.0ms
(/ 1 (/ (fma (- b y) z y) (fma z (- t a) (* x y))))
0.0ms
(fma z (- t a) (* x y))
2.0ms
(/ (fma (- b y) z y) (fma z (- t a) (* x y)))

series1.8s

Counts
3 → 9
Calls
3 calls:
1.6s
(/ 1 (/ (fma (- b y) z y) (fma z (- t a) (* x y))))
59.0ms
(fma z (- t a) (* x y))
186.0ms
(/ (fma (- b y) z y) (fma z (- t a) (* x y)))

simplify2.2s

Counts
126 → 126
Iterations

Useful iterations: 3 (823.0ms)

IterNodesCost
01703177
13503005
28422682
323832664
done50012664

prune372.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 15.1b

localize15.0ms

Local error

Found 3 expressions with local error:

0.7b
(/ 1 (fma (- b y) z y))
0.8b
(fma z (- t a) (* x y))
21.5b
(* (/ 1 (fma (- b y) z y)) (fma z (- t a) (* x y)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
20×*-un-lft-identity times-frac
19×add-cube-cbrt
16×add-exp-log
13×associate-*l*
10×add-cbrt-cube
pow1
div-exp prod-exp
expm1-log1p-u associate-*r* associate-/r* fma-udef log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
distribute-rgt-in pow-flip frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num *-commutative inv-pow
Counts
3 → 82
Calls
3 calls:
2.0ms
(/ 1 (fma (- b y) z y))
0.0ms
(fma z (- t a) (* x y))
10.0ms
(* (/ 1 (fma (- b y) z y)) (fma z (- t a) (* x y)))

series1.5s

Counts
3 → 9
Calls
3 calls:
108.0ms
(/ 1 (fma (- b y) z y))
53.0ms
(fma z (- t a) (* x y))
1.3s
(* (/ 1 (fma (- b y) z y)) (fma z (- t a) (* x y)))

simplify1.8s

Counts
91 → 91
Iterations

Useful iterations: 2 (112.0ms)

IterNodesCost
01131467
12401358
26371174
320991174
done50001174

prune283.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 15.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ 1 (fma (- b y) z y))
0.8b
(fma z (- t a) (* x y))
1.0b
(/ 1 (fma z (- t a) (* x y)))
21.1b
(/ (/ 1 (fma (- b y) z y)) (/ 1 (fma z (- t a) (* x y))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
439×times-frac
216×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
52×add-exp-log
36×div-exp
31×div-inv
20×add-cbrt-cube
19×associate-/r* associate-/l*
10×cbrt-undiv rec-exp 1-exp
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-flip inv-pow
associate-/r/ fma-udef associate-/l/
Counts
4 → 305
Calls
4 calls:
2.0ms
(/ 1 (fma (- b y) z y))
0.0ms
(fma z (- t a) (* x y))
2.0ms
(/ 1 (fma z (- t a) (* x y)))
11.0ms
(/ (/ 1 (fma (- b y) z y)) (/ 1 (fma z (- t a) (* x y))))

series1.5s

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ 1 (fma (- b y) z y))
47.0ms
(fma z (- t a) (* x y))
67.0ms
(/ 1 (fma z (- t a) (* x y)))
1.2s
(/ (/ 1 (fma (- b y) z y)) (/ 1 (fma z (- t a) (* x y))))

simplify3.1s

Counts
317 → 317
Iterations

Useful iterations: done (3.1s)

IterNodesCost
041410017
111869022
227817812
done50007758

prune481.0ms

Pruning

11 alts after pruning (7 fresh and 4 done)

Merged error: 15.1b

regimes485.0ms

Accuracy

71.7% (2.4b remaining)

Error of 17.8b against oracle of 15.4b and baseline of 23.8b

bsearch2.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
031108
142102
done42102

end0.0ms

sample657.0ms

Algorithm
intervals
Results
361.0ms8403×body80valid