Details

Time bar (total: 12.1s)

sample190.0ms

Algorithm
intervals
Results
109.0ms131×body1280valid
27.0ms62×body640valid
12.0ms256×pre80true
7.0ms22×body320valid
3.0ms32×body80valid
2.0msbody160valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.7b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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:
8.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series302.0ms

Counts
3 → 9
Calls
3 calls:
125.0ms
(+ x (- (tan (+ y z)) (tan a)))
119.0ms
(- (tan (+ y z)) (tan a))
58.0ms
(tan (+ y z))

simplify92.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune231.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

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

rewrite149.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:
3.0ms
(+ (tan y) (tan z))
79.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
51.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series966.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(+ (tan y) (tan z))
356.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
407.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
101.0ms
(* (tan y) (tan z))

simplify78.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06764072
120873376
250013265

prune697.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (/ (* (+ (tan y) (tan z)) (fma (tan y) (tan z) 1)) (- 1 (* (* (tan y) (tan z)) (* (tan y) (tan z))))) (tan a))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
41×tan-quot
37×add-sqr-sqrt
33×*-un-lft-identity prod-diff
27×add-cube-cbrt
20×add-exp-log times-frac add-cbrt-cube
19×frac-times pow-prod-down
13×associate-*r/ associate-*l/
11×fma-neg
10×prod-exp cbrt-unprod
difference-of-squares
associate-/r/
associate-*r* associate-*l*
add-log-exp
flip3-- flip--
expm1-log1p-u pow-sqr pow-prod-up log1p-expm1-u div-inv
*-commutative
pow-plus unswap-sqr
pow2 sub-neg diff-log swap-sqr frac-sub distribute-lft-out--
Counts
4 → 158
Calls
4 calls:
28.0ms
(- (/ (* (+ (tan y) (tan z)) (fma (tan y) (tan z) 1)) (- 1 (* (* (tan y) (tan z)) (* (tan y) (tan z))))) (tan a))
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan y) (tan z))
24.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series1.3s

Counts
4 → 12
Calls
4 calls:
953.0ms
(- (/ (* (+ (tan y) (tan z)) (fma (tan y) (tan z) 1)) (- 1 (* (* (tan y) (tan z)) (* (tan y) (tan z))))) (tan a))
97.0ms
(* (tan y) (tan z))
97.0ms
(* (tan y) (tan z))
122.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify96.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06502711
128202194
250022186

prune611.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
136×times-frac
109×add-sqr-sqrt
102×*-un-lft-identity
100×add-cube-cbrt
90×prod-diff
30×fma-neg
21×associate-/r/
17×div-inv
13×add-exp-log cos-mult add-cbrt-cube
pow1
associate-*r* associate-*l* add-log-exp
tan-quot flip3-- flip--
expm1-log1p-u log1p-expm1-u
prod-exp cbrt-unprod associate-/l*
cbrt-undiv div-exp pow-prod-down *-commutative difference-of-squares unswap-sqr
frac-times sub-neg frac-2neg diff-log associate-*r/ associate-*l/ clear-num associate-/r* frac-sub distribute-lft-out--
Counts
4 → 205
Calls
4 calls:
4.0ms
(* (cos y) (sin z))
56.0ms
(- (/ (/ (fma (sin y) (cos z) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))
4.0ms
(/ (fma (sin y) (cos z) (* (cos y) (sin z))) (* (cos y) (cos z)))

series702.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (cos y) (sin z))
386.0ms
(- (/ (/ (fma (sin y) (cos z) (* (cos y) (sin z))) (* (cos y) (cos z))) (- 1 (* (tan y) (tan z)))) (tan a))
101.0ms
(* (tan y) (tan z))
170.0ms
(/ (fma (sin y) (cos z) (* (cos y) (sin z))) (* (cos y) (cos z)))

simplify114.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
08235187
131334245
250014197

prune855.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.1b

regimes295.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02718
12718

end0.0ms

sample5.1s

Algorithm
intervals
Results
3.1s3906×body1280valid
940.0ms2019×body640valid
390.0ms8000×pre80true
209.0ms682×body320valid
101.0ms1094×body80valid
67.0ms299×body160valid