Details

Time bar (total: 37.2s)

sample384.0ms

Algorithm
intervals
Results
201.0ms130×body1280valid
83.0ms54×body640valid
21.0ms256×pre80true
11.0ms17×body320valid
10.0ms46×body80valid
4.0msbody160valid

simplify155.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
099
1159
2229
3339
4389
5459
6519
7619
8749
9869
10959
done959

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.4b

localize19.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
3.7b
(tan (+ y z))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
19.0ms
(+ x (- (tan (+ y z)) (tan a)))
23.0ms
(- (tan (+ y z)) (tan a))
13.0ms
(tan (+ y z))

series501.0ms

Counts
3 → 9
Calls
3 calls:
223.0ms
(+ x (- (tan (+ y z)) (tan a)))
207.0ms
(- (tan (+ y z)) (tan a))
71.0ms
(tan (+ y z))

simplify3.4s

Counts
81 → 81
Iterations

Useful iterations: done (3.4s)

IterNodesCost
01281195
12741008
2644882
32382793
done5000773

prune345.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite440.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
108×prod-diff
107×add-sqr-sqrt
100×add-cube-cbrt
85×times-frac
56×associate-+r+
24×distribute-lft-out
18×fma-neg
14×associate-/r/
13×add-log-exp
flip3-- flip--
tan-quot div-inv
pow1 add-exp-log fma-def add-cbrt-cube
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l* sum-log
+-commutative sub-neg flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 207
Calls
4 calls:
17.0ms
(+ (tan y) (tan z))
216.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
158.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
25.0ms
(* (tan y) (tan z))

series1.6s

Counts
4 → 12
Calls
4 calls:
167.0ms
(+ (tan y) (tan z))
640.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
672.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
165.0ms
(* (tan y) (tan z))

simplify1.8s

Counts
219 → 219
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02966641
16595549
216455029
done50004398

prune1.1s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize58.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (fma (- (tan y)) (tan z) 1))
0.1b
(+ (tan y) (tan z))
0.1b
(+ x (+ (- (/ (+ (tan y) (tan z)) (fma (- (tan y)) (tan z) 1)) (tan a)) 0))
0.2b
(- (/ (+ (tan y) (tan z)) (fma (- (tan y)) (tan z) 1)) (tan a))

rewrite919.0ms

Algorithm
rewrite-expression-head
Rules
108×*-un-lft-identity
68×add-sqr-sqrt
63×add-cube-cbrt
61×times-frac
48×prod-diff
22×distribute-lft-out
17×add-log-exp
16×fma-neg
add-exp-log fma-def sum-log add-cbrt-cube
tan-quot div-inv
pow1 expm1-log1p-u log1p-expm1-u associate-/l*
flip3-+ associate-/r* flip-+ associate-/l/
+-commutative diff-log frac-add distribute-lft-out-- difference-of-squares
cbrt-undiv associate-+l- associate-+r- sub-neg associate-+r+ flip3-- frac-2neg div-exp clear-num frac-sub flip--
Counts
4 → 159
Calls
4 calls:
35.0ms
(/ (+ (tan y) (tan z)) (fma (- (tan y)) (tan z) 1))
16.0ms
(+ (tan y) (tan z))
739.0ms
(+ x (+ (- (/ (+ (tan y) (tan z)) (fma (- (tan y)) (tan z) 1)) (tan a)) 0))
120.0ms
(- (/ (+ (tan y) (tan z)) (fma (- (tan y)) (tan z) 1)) (tan a))

series2.1s

Counts
4 → 12
Calls
4 calls:
390.0ms
(/ (+ (tan y) (tan z)) (fma (- (tan y)) (tan z) 1))
191.0ms
(+ (tan y) (tan z))
739.0ms
(+ x (+ (- (/ (+ (tan y) (tan z)) (fma (- (tan y)) (tan z) 1)) (tan a)) 0))
764.0ms
(- (/ (+ (tan y) (tan z)) (fma (- (tan y)) (tan z) 1)) (tan a))

simplify4.3s

Counts
171 → 171
Iterations

Useful iterations: done (4.3s)

IterNodesCost
02284803
15264043
213933665
348303232
done50003230

prune869.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize70.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sin y) (cos z))
0.1b
(+ x (+ (- (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (fma (- (tan y)) (tan z) 1) (* (cos y) (cos z)))) (tan a)) 0))
0.2b
(- (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (fma (- (tan y)) (tan z) 1) (* (cos y) (cos z)))) (tan a))
0.2b
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (fma (- (tan y)) (tan z) 1) (* (cos y) (cos z))))

rewrite1.9s

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
29×add-sqr-sqrt
25×add-cube-cbrt
24×prod-diff
15×add-exp-log times-frac add-cbrt-cube add-log-exp
fma-neg
pow1
associate-*r/ sum-log associate-/r/ cos-mult div-inv distribute-lft-out
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u
cbrt-undiv fma-def div-exp associate-*r* associate-*l* associate-/l*
flip3-+ diff-log flip-+ associate-/l/ distribute-lft-out--
tan-quot +-commutative associate-+l- associate-+r- sub-neg associate-+r+ flip3-- frac-2neg pow-prod-down clear-num associate-/r* *-commutative frac-sub sin-cos-mult flip-- difference-of-squares unswap-sqr
Counts
4 → 121
Calls
4 calls:
22.0ms
(* (sin y) (cos z))
1.5s
(+ x (+ (- (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (fma (- (tan y)) (tan z) 1) (* (cos y) (cos z)))) (tan a)) 0))
277.0ms
(- (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (fma (- (tan y)) (tan z) 1) (* (cos y) (cos z)))) (tan a))
97.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (fma (- (tan y)) (tan z) 1) (* (cos y) (cos z))))

series2.0s

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (sin y) (cos z))
607.0ms
(+ x (+ (- (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (fma (- (tan y)) (tan z) 1) (* (cos y) (cos z)))) (tan a)) 0))
817.0ms
(- (/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (fma (- (tan y)) (tan z) 1) (* (cos y) (cos z)))) (tan a))
570.0ms
(/ (+ (* (sin y) (cos z)) (* (cos y) (sin z))) (* (fma (- (tan y)) (tan z) 1) (* (cos y) (cos z))))

simplify2.0s

Counts
133 → 133
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02534673
16414043
222203614
done50013378

prune1.3s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes347.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02432
13230
done3230

end0.0ms

sample11.4s

Algorithm
intervals
Results
6.9s3941×body1280valid
2.1s1938×body640valid
641.0ms8000×pre80true
449.0ms680×body320valid
221.0ms1132×body80valid
203.0ms309×body160valid