Details

Time bar (total: 6.8s)

sample312.0ms

Algorithm
intervals
Results
201.0ms65×body640valid
57.0ms129×body1280valid
18.0ms256×pre80true
3.0ms16×body320valid
2.0ms41×body80valid
1.0msbody160valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.0b

Counts
2 → 1

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)))
3.2b
(tan (+ y z))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
13.0ms
(- (tan (+ y z)) (tan a))
5.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(tan (+ y z))

series100.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(- (tan (+ y z)) (tan a))
39.0ms
(+ x (- (tan (+ y z)) (tan a)))
25.0ms
(tan (+ y z))

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune90.0ms

Filtered
51 candidates to 39 candidates (23.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New44751
Fresh000
Picked101
Done000
Total45752

Merged error: 0.1b

Counts
52 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
4.0ms
(+ (tan y) (tan z))
12.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
15.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
5.0ms
(* (tan y) (tan z))

series285.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan y) (tan z))
119.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
125.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
21.0ms
(* (tan y) (tan z))

simplify73.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune131.0ms

Filtered
79 candidates to 60 candidates (24.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New74579
Fresh246
Picked101
Done000
Total77986

Merged error: 0.1b

Counts
86 → 9

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
13×add-sqr-sqrt *-un-lft-identity
11×add-log-exp
pow1 add-cube-cbrt
prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*r* associate-*l*
sub-neg associate-+r+ times-frac diff-log sum-log sin-mult distribute-lft-out distribute-lft-out-- difference-of-squares
tan-quot +-commutative associate-+r- flip3-- frac-2neg flip3-+ pow-prod-down clear-num associate-/r* associate-/r/ cos-mult *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 75
Calls
4 calls:
18.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
18.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
5.0ms
(* (sin y) (sin z))
8.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))

series265.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
119.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
9.0ms
(* (sin y) (sin z))
23.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
04381203
118301082
250011082

prune115.0ms

Filtered
87 candidates to 61 candidates (29.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh088
Picked011
Done000
Total87996

Merged error: 0.1b

Counts
96 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ x (log (exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))))
0.2b
(* (tan y) (tan z))
0.5b
(exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
2.2b
(log (exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
17×*-un-lft-identity
12×exp-prod
10×add-cube-cbrt log-prod
pow1 log-pow add-log-exp
add-exp-log exp-sum add-cbrt-cube
associate-+r+
tan-quot difference-of-squares
sub-neg exp-diff associate-*r* associate-*l*
log-div times-frac rem-exp-log distribute-lft-out distribute-lft-out--
+-commutative frac-times associate-+r- flip3-+ diff-log associate-*r/ rem-log-exp pow-prod-down associate-*l/ prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 79
Calls
4 calls:
15.0ms
(+ x (log (exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))))
5.0ms
(* (tan y) (tan z))
12.0ms
(exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
12.0ms
(log (exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

series398.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(+ x (log (exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))))
21.0ms
(* (tan y) (tan z))
134.0ms
(exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
118.0ms
(log (exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))))

simplify58.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
03061112
18241026
223021024
350011024

prune116.0ms

Filtered
91 candidates to 67 candidates (26.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New89291
Fresh077
Picked101
Done011
Total9010100

Merged error: 0.0b

Counts
100 → 10

regimes1.0s

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02615
12615

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.7s3833×body1280valid
525.0ms8000×pre80true
501.0ms1970×body640valid
132.0ms726×body320valid
61.0ms1191×body80valid
33.0ms280×body160valid

Profiling

Loading profile data...