Details

Time bar (total: 18.3s)

sample161.0ms

Algorithm
intervals
Results
83.0ms120×body1280valid
31.0ms65×body640valid
10.0ms256×pre80true
6.0ms23×body320valid
4.0ms42×body80valid
1.0msbody160valid

simplify85.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: 15.7b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite46.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
(- (tan (+ y z)) (tan a))
17.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(tan (+ y z))

series359.0ms

Counts
3 → 9
Calls
3 calls:
139.0ms
(- (tan (+ y z)) (tan a))
153.0ms
(+ x (- (tan (+ y z)) (tan a)))
66.0ms
(tan (+ y z))

simplify2.4s

Counts
81 → 81
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01281195
12741008
2641882
32380793
done5001773

prune251.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.2b
(* (tan y) (tan z))
0.2b
(+ 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))

rewrite318.0ms

Algorithm
rewrite-expression-head
Rules
165×*-un-lft-identity
115×add-sqr-sqrt
108×add-cube-cbrt prod-diff
97×times-frac
56×associate-+r+
27×distribute-lft-out
18×fma-neg
16×associate-/r/
11×add-log-exp
flip3-- flip--
add-exp-log add-cbrt-cube div-inv
tan-quot
pow1
expm1-log1p-u log1p-expm1-u associate-/l*
fma-def associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg flip3-+ diff-log sum-log flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod unswap-sqr
Counts
4 → 227
Calls
4 calls:
30.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
19.0ms
(* (tan y) (tan z))
151.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
105.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

series1.2s

Counts
4 → 12
Calls
4 calls:
247.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
115.0ms
(* (tan y) (tan z))
423.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
454.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))

simplify1.0s

Counts
239 → 239
Iterations

Useful iterations: done (1.0s)

IterNodesCost
03037323
16886202
217805656
done50015023

prune815.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize29.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin z))
0.2b
(/ (sin z) (* (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y)))) (cos z)))
0.3b
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))
0.3b
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
35×add-exp-log add-cbrt-cube
10×cbrt-undiv add-sqr-sqrt div-exp prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
frac-2neg associate-*r* associate-*l* clear-num associate-/r* div-inv sin-mult
associate-*l/ cos-mult associate-/l/
flip3-- pow-prod-down *-commutative flip-- unswap-sqr
Counts
4 → 96
Calls
4 calls:
13.0ms
(* (sin y) (sin z))
35.0ms
(/ (sin z) (* (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y)))) (cos z)))
18.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))
21.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

series451.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (sin y) (sin z))
171.0ms
(/ (sin z) (* (- 1 (/ (* (sin y) (sin z)) (* (cos z) (cos y)))) (cos z)))
112.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))
114.0ms
(/ (* (sin y) (sin z)) (* (cos z) (cos y)))

simplify733.0ms

Counts
108 → 108
Iterations

Useful iterations: done (729.0ms)

IterNodesCost
01501802
13791727
215651414
done50001412

prune553.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite387.0ms

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity
32×add-sqr-sqrt
30×add-cube-cbrt
24×times-frac
19×fma-def
14×distribute-lft-out
13×add-log-exp
12×prod-diff
tan-quot add-exp-log add-cbrt-cube
pow1 expm1-log1p-u flip3-+ fma-neg flip-+ log1p-expm1-u associate-/l*
associate-/r* sum-log associate-/l/
+-commutative diff-log frac-add frac-sub div-inv distribute-lft-out--
cbrt-undiv sub-neg flip3-- frac-2neg div-exp associate--l+ clear-num flip-- difference-of-squares
Counts
4 → 121
Calls
4 calls:
9.0ms
(+ (tan y) (tan z))
26.0ms
(/ (+ (tan y) (tan z)) (fma (tan y) (- (tan z)) 1))
46.0ms
(+ (/ (+ (tan y) (tan z)) (fma (tan y) (- (tan z)) 1)) x)
302.0ms
(- (+ (/ (+ (tan y) (tan z)) (fma (tan y) (- (tan z)) 1)) x) (tan a))

series1.5s

Counts
4 → 12
Calls
4 calls:
103.0ms
(+ (tan y) (tan z))
255.0ms
(/ (+ (tan y) (tan z)) (fma (tan y) (- (tan z)) 1))
535.0ms
(+ (/ (+ (tan y) (tan z)) (fma (tan y) (- (tan z)) 1)) x)
635.0ms
(- (+ (/ (+ (tan y) (tan z)) (fma (tan y) (- (tan z)) 1)) x) (tan a))

simplify1.9s

Counts
133 → 133
Iterations

Useful iterations: 3 (831.0ms)

IterNodesCost
01892845
14332605
211902407
342282209
done50002209

prune751.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes309.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01418
11818
done1818

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.9s3856×body1280valid
859.0ms2018×body640valid
309.0ms8000×pre80true
200.0ms697×body320valid
97.0ms1145×body80valid
55.0ms284×body160valid